Syntax
<CAPTION>...</CAPTION>
Attribute Specifications
ALIGN=[ top | bottom | left | right ] (caption alignment)
common attributes
Contents:
Inline elements
Contained in:
TABLE
<TABLE width=300 border=1>
<CAPTION>Common Usenet Abbreviations</CAPTION>
<THEAD>
<TR>
<TH>Abbreviation</TH>
<TH>Long Form</TH>
</TR>
</THEAD>
<TBODY>
<TR>
<TD>AFAIK</TD>
<TD>As Far As I Know</TD>
</TR>
<TR>
<TD>IMHO</TD>
<TD>In My Humble Opinion</TD>
</TR>
<TR>
<TD>OTOH</TD>
<TD>On The Other Hand</TD>
</TR>
</TBODY>
</TABLE>
| Abbreviation | Long Form |
|---|---|
| AFAIK | As Far As I Know |
| IMHO | In My Humble Opinion |
| OTOH | On The Other Hand |
|
The next example uses TABLE's SUMMARY attribute to complement the CAPTION:
<TABLE SUMMARY="This table gives the character entity reference, decimal character reference, and hexadecimal character reference for symbols and Greek letters." width=300 border=1>
The deprecated ALIGN attribute of CAPTION specifies the alignment of the caption relative to the table. Possible values are top (the default), bottom, left, and right. |