Clever Geek Handbook
πŸ“œ ⬆️ ⬇️

HTML5 Shiv

HTML5 Shiv is a JavaScript programming language plugin. A polyfile that allows you to provide basic HTML5 styles for Internet Explorer 6-8, Safari 4.x, Firefox 3.x. and iPhone 3.x.

Content

Internet Explorer Compatibility

Earlier versions of Internet Explorer (IE8 and earlier) did not support HTML5 elements.

The share of Internet Explorer 8 is only 0.77% according to caniuse.com for May 2016. Despite this, some websites are still being developed taking into account the specifics of this browser. HTML5 Shiv allows early versions of Internet Explorer to recognize HTML5 tags.

Usage Example

The following is an example of using HTML5 Shiv in earlier versions of Internet Explorer:

  <! DOCTYPE html>
 < html >
  < head >
   <! - [if lt IE 9]>
 <script src = "// cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.min.js"> </script>
 <! [endif] ->
  </ head >
  < body >
  </ body >
 </ html >

Links

  • Project homepage
  • The Story of the HTML5 Shiv

Notes

Source - https://ru.wikipedia.org/w/index.php?title=HTML5_Shiv&oldid=85713816


More articles:

  • List of Heads of State in 875
  • Drugov, Ilya Dmitrievich
  • Petrushinsky Village Council
  • Andriasyan, Gayk Arshakovich
  • Seletkansky Village Council
  • Aleksandrovsky, Alexey Nikolaevich
  • Guerrero, Jose Gustavo
  • Rakitnoe (Khabarovsk Territory)
  • Scream for Me Brazil
  • Manhattan Heights

All articles

Clever Geek | 2019