HTML and CSS Reference
In-Depth Information
Function Defines a column group within a table
align, char, charoff, class, dir, id, lang,
onClick, onDblClick, onKeyDown, onKeyPress,
onKeyUp, onMouseDown, onMouseMove,
onMouseOut, onMouseOver, onMouseUp, span,
style, title, valign, width
</colgroup> ; usually omitted in HTML
End tag
Used in
For instance, suppose we want our first example group of four columns
to each occupy 20 percent of the table, and the remaining two columns
to each take up 10 percent of the total table width. That's easy with the
span attribute:
<colgroup span=4 width="20%">
<colgroup span=2 width="10%">
You can also create this structure with individually specified columns (in
Search WWH ::

Custom Search