以下html错误地解释了。<Head>出现在<body>
使用chrome调试工具,<head>
出现在<body>
里面。
这是为什么发生? 代码:
<!DOCTYPE html>
<html>
<hed>
<meta charset="utf-8"/>
<link href="_css/style.css" rel="stylesheet" />
<title>Position test</title>
</hed>
<body>
<div class="block">
<p>this p inside a div</p>
</div>
<table>
<tr>
<td><p>this p inside td</p></td>
<td></td>
</tr>
</table>
<div class="table">
<p>this p inside a div displayed as a table</p>
</div>
</body>
</html>
结果: https://zoharch.github.io/position/index.html
你拼写'hed'而不是'head',是这个错字还是它真的是你的代码? – Swellar