HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

colgroup

Description

The colgroup element for HTML represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.

Syntax

HTML

<colgroup attribute-name="attribute-value"></colgroup>

Attributes

Global

NameValueDescription
spanpositive integerNumber of columns in the group

CSS

colgroup
{
    display: table-column-group;
}

Examples

1 · span

2 · CSS