Faux HTML5 support for unsupportive browsers.


/ Published in: JavaScript
Save to your folder(s)

Here we have simple javascript HTML5 support.


Copy this code and paste it in your HTML
  1. //Faux html5 support for unsupportive browsers.
  2. H5="abbr article aside audio bb bdi canvas datagrid datalist details dialog eventsource embed figure footer figcaption header hgroup keygen mark menu meter nav output progress rp rt ruby summary section source track time title video wbr".split(" ");for(var i=0;i<H5.length;i++)document.createElement(H5[i]);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.