the complete webmaster
tutorials reviews reference
ASP
CGI
FrontPage
HTML
Java
JavaScript

home / reference / html

<caption></caption>
align   valign

The caption tag is used with the <table> tag and is commonly used as a title or caption for a table. It is outside of the rows or cells of your table, and can be aligned to the top, bottom, left, and right. Like a table cell, any document body html can be used within a caption tag.

<caption align="">

   Description
   The align attribute is used to define whether the caption will be displayed on the top or the bottom of the table and if it will be justified to the left, right, or center.
Code
   <caption align="top|left">YOUR TEXT HERE</caption>

<caption valign="">

   Description
   The valign attribute is for use with Internet Explorer only. When defining on what side of the table the caption will appear, valign must be used. The align attribute mentioned above is used strictly to justify the text to the left, center, or right.
Code
   <caption valign="bottom">YOUR TEXT HERE</caption>
write for us about us advertise

Copyright 1997, 1998 A Big Lime. All rights reserved.

/body>