HTML DOM Column Object
Column Object
The Column object represents a column in an HTML table.
In every HTML document, a Column object can be created with the <col> tag.
The <col> element describes the column properties for each column within a <colgroup> element.
If you want to apply styles to all columns, the <col> tag is useful, so you don't have to repeatedly apply styles to individual cells and rows.
Column Object Properties
| Property | Description |
|---|---|
| span | Sets or returns the value of the span attribute in a column. |
Standard Properties and Events
The Column object also supports the standardPropertiesandEvents.
Related Pages
HTML Tutorial:HTML Tables
HTML Reference Manual:HTML <col> Tag
JavaScript Reference Manual:HTML DOM Columngroup Object
Other Extensions