在John Resig的“HTML5 Shiv”和Remy Sharp的“HTML5 enabling script”,均是用脚本创建新的HTML5标签的dom元素。
因此我们可以引用这样的脚本:
- (function(){
- if(!/*@cc_on!@*/0) return;
- var html5 = “abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,hgroup,header,mark,menu,meter,nav,output,progress,section,time,video”.split(‘,’),
- …
- })();

