Table Column Group
 
End Tag: Optional
Support Key: 2 | 3 | 3.2 | IE3A1 | M | N
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Top Of Tree | Tag Index | Tag History


What is it?
This tag acts as a container for a group of columns, and allows the author to specify default properties for these columns. This element comes before any of the standard row grouping hierarchies (TR, THEAD, TBODY and TFOOT), and only serves to more completely describe organizational characteristics of the row grouping data that follow (no cell data is contained in COLGROUPs.)

If no COLGROUP tags are present, all columns in the table are assumed to be part of a single column group. Each COLGROUP grouping can contain zero or more COL elements.
Attributes
Span
2 | 3 | 3.2 | IE3A1 | M | N
Required? No
Description:
This attribute specifies a default for how many columns are in the current group. It provides a convenient way of grouping columns without the need to supply COL elements. This attribute should be ignored if the current COLGROUP contains one or more COL tags.
Values: Positive integers [DEFAULT: 1]

Style Sheet Attributes
[More on Cascading Style Sheets]
Class
2 | 3 | 3.2 | IE3B1 | M | N
Required? No
Description:
This represents an assigned semantic classification grouping(s) for the current tag.
Values:
Given as a comma separated list of alphanumeric characters. Class names may contain spaces (multiple consecutive spaces treated as a single space.)
ID
2 | 3 | 3.2 | IE3B1 | M | N
Required? No
Description:
This assigns an alpha-numeric identifier that is unique to this tag instance. Style sheets may use this attribute to reference the current instance of this tag. Hyperlinks may also use this identifier to serve as a destination.
Values:
An alphanumeric string - initial character must be a letter followed by alphabetic characters, digits, "-" or "." characters. The allowable set of alpha-characters is restricted to the A-Z and a-z set.
Style
2 | 3 | 3.2 | IE3B1 | M | N
Required? No
Description:
This attribute is a text string that provides rendering style information for the current tag.
Values:
Please see the description of inline styles for more information on how to use this attribute and its possible values.
Example
<table BORDER="2" ALIGN="left" CELLPADDING="5" BORDERCOLOR="#ff0000"
COLS="4" FRAME="vsides" RULES="cols" WIDTH="75%">
<colgroup>
   <col ALIGN="right">
</colgroup>
<colgroup>
   <col ALIGN="center">
   <col ALIGN="center">
   <col ALIGN="center">
</colgroup>
<caption ALIGN="top">Juggling Capabilities of Waterfront Performers</caption>
<thead>
      <tr> <th>Juggler</th><th>Pins</th><th>Bowling Balls</th><th>Flaming Baseballs</th> </tr>
</thead>
<tbody>
      <tr> <td>Bob</td> <td>5</td> <td>2</td> <td>5</td> </tr>
      <tr> <td>Larry</td> <td>2</td> <td>7!!!</td> <td>NA</td> </tr>
      <tr> <td>Julie the Great</td> <td>1</td> <td>2</td> <td>20<br>(She IS great!)</td> </tr>
</tbody>
</table>
Parent Model
<table>
Content Model
<col>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...