An HTML table with a table cell that spans two columns:
The colspan attribute defines the number of columns a cell should span.
Attribute | |||||
---|---|---|---|---|---|
colspan | Yes | Yes | Yes | Yes | Yes |
Note: Only Firefox supports colspan="0", which has a special meaning (look below in the "Attribute Values" table).
NONE.
Value | Description |
---|---|
number | Specifies the number of columns a cell should span. Note: colspan="0" tells the browser to span the cell to the last column of the column group (colgroup) |