The Caption Tag

ken's picture

Opening tag : <CAPTION>
Closing tag: </CAPTION>

Purpose:
The Caption tag is intended to provide a caption (or title) for a table or figure.

Attributes:
align=alignment
- Positions the caption, option are either, LEFT, CENTER or RIGHT. Some browsers also allow TOP or BOTTOM.

valign=alignment
- Other browsers use the valign parameter for TOP or BOTTOM alignment.

Example:

<TABLE width="50%">
<CAPTION align="CENTER">This is a great table!</CAPTION>
<TR>
<TD Width="50"></TD>
<TD Width="50"></TD>
</TR>
</TABLE>

Related Tags:

-

Back to:
Alphabetical Guide
Guide By Type