<tr>必须在 <tbody> 内
表格行 ( Does a table row (
不行, No, the ) 是否必须在表格主体 ( ) 中,如果表格有表格主体,或者它可以存在于表体之外吗?
<tr>
) have to be in a table body (<tbody>
), if the table has a table body, or can it exist outside of the table body?<table>
<tr>
<td colspan='2'>...</td>
</tr>
<tbody>
<tr>
<td>...</td>
<td>...</td>
</tr>
</tbody>
<tr>
<td colspan='2'>...</td>
</tr>
<tbody>
<tr>
<td>...</td>
<td>...</td>
</tr>
</tbody>
</table>
可以在 ,
<tbody>
、<tfoot>
或者它不必在其中任何一个中.
<tr>
can be in the <thead>
, <tbody>
, <tfoot>
or it doesn't have to be in any of them.
登录
关闭