Themans

Does Anybody Know of a Script that Enables HTML5?

Asked by Themans 2 years ago html5 script


Joel Reyes
2
 
Since HTML5 is new, IE for example doesn't load many of the attributes so we use this script to load it:

<!--[if IE]>
<script src="http://cdn.qhub.com/html5.js" type="text/javascript"></script>
<![endif]-->

//Time for the Function
(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,events ource,figure,footer,header,mark,menu,meter,nav,output,progress,section,time ,video".split(','),i=e.length;while (i--){document.createElement(e[i])}})()

by Joel Reyes 2 years ago

Answer this question

Does Anybody Know of a Script that Enables HTML5?

0 errors found:

 
0