Syntax
<COL>
Attribute Specifications
SPAN=Number (number of columns)
WIDTH=MultiLength (width of each column)
ALIGN=[ left | center | right | justify | char ] (horizontal alignment of cells)
CHAR=Character (alignment character for cells)
CHAROFF=Length (alignment character offset)
VALIGN=[ top | middle | bottom | baseline ] (vertical alignment of cells)
common attributes
Contents:
Empty
Contained in:
COLGROUP, TABLE
<TABLE SUMMARY="This table gives the character entity reference,
decimal character reference, and hexadecimal character
reference for 8-bit Latin-1 characters, as well as the
rendering of each in your browser." border=1>
<COLGROUP CLASS="character-description">
<COLGROUP>
<COL CLASS=entity>
<COL SPAN=2 CLASS=numeric>
<COLGROUP>
<COL CLASS="entity-rendering">
<COL CLASS="decimal-rendering">
<COL CLASS="hex-rendering">
<THEAD>
<TR>
<TH SCOPE=col ROWSPAN=2>Character</TH>
<TH SCOPE=col ROWSPAN=2>Entity</TH>
<TH SCOPE=col ROWSPAN=2>Decimal</TH>
<TH SCOPE=col ROWSPAN=2>Hex</TH>
<TH SCOPE=colgroup COLSPAN=3>Rendering in Your Browser</TH>
</TR>
<TR>
<TH SCOPE=col>Entity</TH>
<TH SCOPE=col>Decimal</TH>
<TH SCOPE=col>Hex</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD SCOPE=row>black club</TD>
<TD>&clubs;</TD>
<TD>&#9827;</TD>
<TD>&#x2663;</TD>
<TD>♣</TD>
<TD>♣</TD>
<TD>♣</TD>
</TR>
...
</TBODY>
</TABLE>
| Character | Entity | Decimal | Hex | Rendering in Your Browser | ||
|---|---|---|---|---|---|---|
| Entity | Decimal | Hex | ||||
| black club | ♣ | ♣ | &x2663; | ♣ | ♣ | ♣ |
|
COL also takes a number of presentational attributes, many of which cannot be completely replaced by style sheets. Since few browsers support COL, authors may wish to specify these attributes on the TD or TH elements instead.
top, which positions data at the top of the cell; |