<CAPTION> and </CAPTION>

Description:

The <CAPTION> tag defines a caption (a title) for a table or a figure.

Attributes:

align=alignment
Determines how to align the caption. May have the following values:
Values for Internet Explorer
CENTER Center the caption
LEFT Align to the left
RIGHT Align to the right

 

Values for Netscape
TOP Put caption on top
BOTTOM Put caption on bottom
valign=alignment
Determines how to align the caption. May have the following values:
Values for Internet Explorer
TOP Put caption on top
BOTTOM Put caption on bottom

Examples:

<table border="1" width="80%">
  <caption>This is a caption to the table</caption>
  <tr>
    <td width="50%">&nbsp;</td>
    <td width="50%">&nbsp;</td>
  </tr>
  <tr>
    <td width="50%">&nbsp;</td>
    <td width="50%">&nbsp;</td>
  </tr>
</table>

This is a caption to the table