Login Latest Snippets Home My Account
Snippee! A personal code snippet manager... Store, share, organize! ...

HTML5 for older browsers

Published: 2011-11-21 14:16:08 - In: jQuery

Enable older browsers to understand HTML5

(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])}})()