html5shiv - why is it only for IE?

前端 未结 4 579
抹茶落季
抹茶落季 2021-02-10 16:51

I want to start using some HTML5 tags, but worried how it will render on browsers that do not support HTML5. It seems like html5shiv is a solution I can use for IE browsers <

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-10 17:36

    htmlshiv is an 'IE' thing, because some versions of IE [still] lack many HTML5 features. What works in chrome or other webkit browsers may not work in IE, so htmlshiv TRIES to give a javascript adaptation of the missing features. Its a polyfill, to be exact as well.

提交回复
热议问题