html5 IE support

Include this code inside your head section for Internet Explorer 6-8 start to support HTML5 tags and HTML5 document structure:

<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

or this copy (same script, but from another place):

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

Make all html5 tags display block:

header, nav, section, article, hgroup, aside, figure, footer { display: block; }

Leave a Reply

Your email address will not be published. Required fields are marked *