核心知识
行、表头与数据单元格
tr 表示一行,th 表示表头,td 表示普通数据。
- 一行中的单元格数量通常与列数一致
- 列标题用 th scope="col"
- 行标题用 th scope="row"
<tr>
<th scope="row">周三</th>
<td>Web 前端</td>
<td>L201</td>
</tr>
tr 表示一行,th 表示表头,td 表示普通数据。
<tr>
<th scope="row">周三</th>
<td>Web 前端</td>
<td>L201</td>
</tr>