TH.colSpan (Property)

The number of columns that a header cell spans.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myTH.colSpan

This corresponds to the COLSPAN attribute within a <TH> HTML tag for a table header cell description. It defines how many table columns this column is to span.

Warnings:

See also:COL.span, COLGROUP.span, style.columnSpan, TD.colSpan