HTML5新标签在IE6/IE7/IE8上并不能识别,需要进行JavaScript处理。
推荐方法:使用Google的html5shiv包
<!--[if lt IE9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
HTML5新标签在默认情况下表现为内联元素,对这些元素进行布局我们需要利用CSS手工把它们转为块状元素以方便布局。
/*html5*/
article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block}