The
colgroup
element allows a set of properties to be defined for the cells in one or more table columns.
The
colgroup
can define a common set of properties for one or more columns using the
span
attribute, in which case it must be an empty element. To specify different properties for different columns, the
colgroup
must contain one or more
col
elements with the properties for those columns.
A
colgroup
must not contain both a
span
attribute and child
col
elements.