colgroup

The colgroup element represents a group of one or more columns in the table that is its parent.

Attributes

<colgroup attribute-name="attribute-value"></colgroup>
Name Value Description
span positive integer Number of columns in the group

Global

CSS

colgroup {
  display: table-column-group;
}

Example | span

Example | CSS

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1