An HTML table with a header cell that spans three rows:
More "Try it Yourself" examples below.
The rowspan attribute defines the number of rows a header cell should span.
Attribute | |||||
---|---|---|---|---|---|
rowspan | Yes | Yes | Yes | Yes | Yes |
Note: Only Firefox and Opera 12 (and earlier versions) support rowspan="0", which has a special meaning (look below in the "Attribute Values" table).
NONE.
Value | Description |
---|---|
number | Sets the number of rows a header cell should span. Note: rowspan="0" tells the browser to span the cell to the last row of the table section (thead, tbody, or tfoot) |
Using rowspan="0" (will only work in Firefox and Opera 12 and earlier):