1、引用google的html5.js文件,代码内容可以自己下载下来看。
利用bai条件注释判断IE浏览器版本
<!–[if lt IE9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]–>
在css初始化中添加
article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}