HTML5 Enabling script


/ Published in: JavaScript
Save to your folder(s)

The html5.js and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them - so it can't sit in the footer of the page, i.e. below the elements in question).


Copy this code and paste it in your HTML
  1. <!--[if IE]>
  2. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  3. <![endif]-->

URL: http://remysharp.com/2009/01/07/html5-enabling-script/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.