Make HTML5 Elements Work in Old IE

0
0

So that the DOM (and thus CSS) recognizes them as real elements:

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

Hotlink Script:

<!--[if IE]>
https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js
<![endif]-->
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.