Name
colgroup
Synopsis
<colgroup>...</colgroup>
Creates a column group: a structural division within a table. A
table may include more than one column group. The number of columns in
a group is specified either by the value of the span attribute or by a tally of columns
(col) within the group.
Column groups may be useful in speeding table display (for
example, the columns can be displayed incrementally without waiting
for the entire contents of the table) and provide a system for display
on nonvisual display agents such as speech- and Braille-based
browsers. The colgroup element must appear before
any row (tr) or rowgroup (thead,
tbody, tfoot) element within the
table element.
Attributes
Core(id,
class, style, title),
Internationalization,
Events, Alignment
attributes: align,
char, charoff,
valign (see tbody entry for
descriptions)
-
span="number" Specifies the number of columns in a column group. If
spanis not specified, the default is 1.-
width="pixels, percentage, n*" Specifies a default width for each column in the current column group. Width can be measured in pixels, percentages, or defined as a relative size (
*).0*sets the column width at the minimum necessary to hold the column’s contents.