Posted By

o0110o on 05/18/12


Tagged

javascript support html5


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

o0110o
hurcy


Faux HTML5 support for unsupportive browsers.


 / Published in: JavaScript
 

Here we have simple javascript HTML5 support.

  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  

You need to login to post a comment.