th
表头中的单元格
场景用例
<!-- HTML 代码 -->
属性
属性(Attribute) | 说明(Description) | 值(Value) |
---|---|---|
colspan | Number of columns that the cell is to span | Valid non-negative integer greater than zero |
rowspan | - | - |
headers | The header cells for this cell | Unordered set of unique space-separated tokens consisting of IDs* |
scope | Specifies which cells the header cell applies to | "row"; "col"; "rowgroup"; "colgroup" |
abbr | Alternative label to use for the header cell when referencing the cell in other contexts | Text* |