让IE支持html5标签

阅读更多
引用Google的html5.js文件到head部分,记住一定要是head部分(因为IE必须在元素解析前知道这个元素,所以这个js文件不能在其他位置调用,否则失效)


在css里面加上这段:
/*html5*/
article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}

参考:
http://lefter.net/blog/ie_html5/
http://www.daqianduan.com/ie-html5-shiv/
http://www.paulrhayes.com/2009-06/moving-markup-towards-html5/

安装谷歌浏览器内嵌框架!
http://www.google.com/chromeframe/thankyou.html?msi=true&statcb

你可能感兴趣的:(IE,支持,html5,标签)