HTML5 and old browsers

HTML5¬†introduces new tags that’s not recognized by older browsers.

To fix it, add the following JavaScript:

<script>
document.createElement("article"); 
document.createElement("footer"); 
document.createElement("header"); 
document.createElement("hgroup"); 
document.createElement("nav"); 
</script>

Alternate solution

Include a HTML5 enabling script. The scripts is hosted on google codes and can be hotlinked:

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

Leave a Reply

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