验证:"表格中的开始标记."

iTa*_*ome 10 html html5

<table>
<thead>
 <th>Table Heading</th>
</thead>
<tbody>
 <tr>.....
</tbody>
</table>
Run Code Online (Sandbox Code Playgroud)

当我尝试验证这部分代码时,验证程序返回此错误:

 th start tag in table body.
Run Code Online (Sandbox Code Playgroud)

表模板是从getbootstrap.com复制的,所以我认为它是有效的.这有什么问题?为什么验证器会返回此错误,我该如何解决?

D S*_*ley 23

th是一个表头单元格 - 它需要位于tr:

<table>
<thead>
 <tr>
  <th>Table Heading</th> 
 </tr>
</thead>
<tbody>
 <tr>.....
</tbody>
</table>
Run Code Online (Sandbox Code Playgroud)