<CAPTION> and </CAPTION>

Description Attributes Examples

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
   
   
Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System