Easy Tutorial
❮ Jsref Entries Prop Node Textcontent ❯

HTML DOM Columngroup Object


Columngroup Object

The Columngroup object represents a group of columns in an HTML table.

Each <colgroup> tag in the HTML document creates a Columngroup object.

The <colgroup> tag is useful for applying styles to all columns, eliminating the need to repeat styles for individual cells and rows. The <colgroup> tag can only be used within a table element.


Columngroup Object Properties

Property Description
span Sets or returns the value of the span attribute in the column group.

Standard Attributes and Events

The Columngroup object also supports standard attributes and events.


Related Pages

HTML tutorial: HTML Tables

HTML reference: HTML <colgroup> Tag

JavaScript reference: HTML DOM Column Object

❮ Jsref Entries Prop Node Textcontent ❯