Share

From this page you can share HTML5 in IE8 and IE7 to a social bookmarking site or email a link to the page.
Social WebE-mail
Enter multiple addresses on separate lines or separate them with commas.
HTML5 in IE8 and IE7
(Your Name) has forwarded a page to you from Ajaxonomy
(Your Name) thought you would like to see this page from the Ajaxonomy web site.

HTML5 in IE8 and IE7

Tagged:  

We are seeing more and more use of HTML5, however, it is being held back largely due to the use of Internet Explorer 8. IE8 will be with us for some time because it works on Windows XP and IE9+ require at least Windows Vista.

Well, I've stumbled over some code that creates most HTML5 tags correctly in IE7 and IE8 through JavaScript.

The script is very easy to use. Just put something like the below in the head portion of your code.

<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js">
<style type="text/css">
abbr, article, aside, audio, bdi, canvas, data, datalist, details, figcaption, figure, footer, header, hgroup, mark, meter, nav, output, progress, section, summary, time, video {
 display: block;
}
</style>
<![endif]—>

After you put this in the code you can use these tags and for the most part they should work correctly (a few still may have problems, so you will need to test your page in IE7 or IE8).

You can get the code here. here.