HTML 5 Shiv

In order to get IE to work properly with HTML5, you have to initialize the new HTML5 elements before the page loads. The HTML5 Shiv script will do that for you. Include the following conditional comment in your head.

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

Or you can download it directly from http://html5shiv.googlecode.com/svn/trunk/html5.js. Not suprisingly, this script is thanks to Rem.

Show Page Source
Show Notes
Javascript ninja John Resig talks about creating the elements via JS before they are used on his blog.
Ninja John can also be seen in this picture here:
How many Ninjas do you count?