HTML DOM Columngroup object
Columngroup object
The Columngroup object represents a set of columns in an HTML table.
A Columngroup object is created for each of the hashtags in the HTML document.
To apply styles to all columns, the label is useful so that you don't have to apply styles repeatedly to individual cells and rows. The label can only be used in table elements.
Columngroup object properties
Property | Describe |
---|---|
span | Set or return the value of the span property in the column group. |
Standard properties and events
The Columngroup object also supports standard properties and events.
Related Pages
HTML tutorial: HTML table
HTML reference: HTML slt;colgroup.gt; tags
JavaScript reference: HTML DOM Column object