一个表格中可以有多个tbody ,可以通过style="display:noe"来控制隐藏当前tbody
举例:
<table border="1">
<caption>课程表</caption>
<thead>
<tr>
<th>周一</th>
<th>周二</th>
<th>周三</th>
</tr>
</thead>
<tbody>
<tr>
<td>html</td>
<td>net</td>
<td>javascript</td>
</tr>
</tbody>
<tbody style="display:none">
<tr>
<td>html加强</td>
<td>net高级技术</td>
<td>javascript Dom</td>
</tr>
</tbody>
<tfoot>
<th colspan="3">
晚自习
</th>
</tfoot>
</table>
举例:
<table border="1">
<caption>课程表</caption>
<thead>
<tr>
<th>周一</th>
<th>周二</th>
<th>周三</th>
</tr>
</thead>
<tbody>
<tr>
<td>html</td>
<td>net</td>
<td>javascript</td>
</tr>
</tbody>
<tbody style="display:none">
<tr>
<td>html加强</td>
<td>net高级技术</td>
<td>javascript Dom</td>
</tr>
</tbody>
<tfoot>
<th colspan="3">
晚自习
</th>
</tfoot>
</table>