colspan

Column Span (XHTML table model)

Definition

See documentation for the HTML 4.0 (XHTML) table model.

Number of columns that this table cell will span. (The table cell will be tagged with a Table Data Cell (XHTML table model) or Table Header Cell (XHTML table model) element.)

Attribute Values

In Elements

<td> Table Data Cell (XHTML table model)
<th> Table Header Cell (XHTML table model)
Value Meaning
A counting number How many columns will this cell span, e.g., “3”.
Default value: 1 (Span 1 column)