안에 표시됩니다. 다음 html이 잘못 해석되었습니다.<Head>이 (가) <body>
크롬 디버그 도구를 사용하면 <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
당신은'head' 대신'hed'라고 철자를 잘못 입력 했습니까? 아니면 정말로 당신의 코드입니까? – Swellar