html5shiv - why is it only for IE?

前端 未结 4 600
闹比i
闹比i 2021-02-10 17:20

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:27

    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.

提交回复
热议问题