HTML5 Shiv

From Web Education Community Group
Jump to: navigation, search

To enable use of HTML5 sectioning elements in Internet Explorer 8 or less, use the HTML5 shiv (or shim) JavaScript.

In your <head> section, point to an external script:

<!--[if lt IE 9]> <script src=""></script> <![endif]-->

Or download the code (See and point to it locally:

<!--[if lt IE 9]> <script src="dist/html5shiv.js"></script> <![endif]-->