HTML5不应该在IE9中工作吗?它没有像我预期的那样工作。
这是我的 HTML5 代码:
<!DOCTYPE html>
<html>
<head><title>
Dripel - Welcome
</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<header>Welcome to Dripel</header>
<section id="main">
I am under development. Please check back later.
</section>
<footer>
</footer>
</body>
</html>
您可以在http://www.dripel.com/查看它。
在 IE 9 中,<header>
and<section>
元素被显示为内联。请注意,我目前没有使用任何 CSS。
知道发生了什么吗?