跳到主要内容

th

表头中的单元格

场景用例

<!-- HTML 代码 -->

属性

属性(Attribute)说明(Description)值(Value)
colspanNumber of columns that the cell is to spanValid non-negative integer greater than zero
rowspan--
headersThe header cells for this cellUnordered set of unique space-separated tokens consisting of IDs*
scopeSpecifies which cells the header cell applies to"row"; "col"; "rowgroup"; "colgroup"
abbrAlternative label to use for the header cell when referencing the cell in other contextsText*

参考