為什么我的代碼 39 格 40格 會報錯?
<!DOCTYPE html>
<html>
<head>
? ? <meta charset="UTF-8">
? ? <title>使用thead、tbody、tfoot標簽</title>
</head>
<body>
? ? <table border="1">
? ? ?<caption>成績表 </caption>
? ? ? ? ? <!-- 標題列表 -->
?<thead>
? ? ?<!-- 內容列表-->
? ? ?<tr>
? ? ? ? ?<th>科目</th>
? ? ? ? ?<th>分數(shù)</th>
? ? ?</tr>
<tbody>
? ? <!-- 內容列表-->
? ? <tr>
? ? ? ? ?<td>語文</td>
? ? ? ? ?<td>99</td>
? ? ?</tr>
</tbody>
<tbody>
? ? <!-- 內容列表-->
? ? ?<tr>
? ? ? ? ?<td>數(shù)學</td>
? ? ? ? ?<td>60</td>
? ? ?</tr>
</tbody>
<tfoot>
? ? <!-- 內容列表-->
? ? ?<tr>
? ? ? ? ?<td>總分</td>
? ? ? ? ?<td>159</td>
? ? ?</tr>
</tfoot>
</body>
</html>
2021-06-16
因為你的標簽沒有正確的關閉,你的</thead>沒有寫哦?。。?!