colspan

Column Span (XHTML table model)

Definition

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

Horizontal spanning. The attribute specifies the number of columns that a table cell will span (The table cell will be tagged with a <td> or <th> element.)

Attribute Values

In Elements

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