Skip to content

Instantly share code, notes, and snippets.

@zoxon
Last active August 29, 2015 14:04
Show Gist options
  • Save zoxon/c167ad2ca788efd89fc2 to your computer and use it in GitHub Desktop.
Save zoxon/c167ad2ca788efd89fc2 to your computer and use it in GitHub Desktop.
HTML: Sample html5 support for IE < 9
<!--[if lt IE 9]>
<script>
var e = ("article,aside,figcaption,figure,footer,header,hgroup,nav,section,time").split(',');
for (var i = 0; i < e.length; i++) {
document.createElement(e[i]);
}
</script>
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment