HTML and CSS Reference
In-Depth Information
<colgroup>
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
Attributes
</colgroup> ; usually omitted in HTML
End tag
Contains
column_content
Used in
table_content
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
HTML):
Search WWH ::




Custom Search