以下 HTML 无法通过 W3C HTML 5 验证器 (http://validator.w3.org/check) 检查:
<!DOCTYPE html><html>
<head>
<title>Test</title> <meta charset="utf-8"/>
</head>
<body>
<p>
This is a demo.
<aside >
<p>Aside element node.</p>
</aside>
</p>
</body>
</html>
但是如果将 p 标签更改为其他标签,例如 div 标签,它将通过 W3C 验证器检查:
<div>
This is a demo.
<aside >
<p>Aside element node.</p>
</aside>
</div>
</body>
为什么?