About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > Caption...

   Browse by title articles:
   What is hot:

Caption

TH Table Header

Colspan, Rowspan

Bgcolor, Background, Bordercolor

Frames

Frames Col & Row

Bgcolor, Background, Bordercolor
XHTML Validation
Building Link Popularity
Logging with PHP
Prev articles123 4 5678910Next articles



Caption


Computer & I'net articlesCaption

by David Stanley    



CAPTION will create a line of text (centered) above or below the table. The text appears "outside" of the table borders. Caption is usually used as a title or header.

Caption has only one property, ALIGN, that can be set to TOP or BOTTOM. The caption tag set is always placed directly after the opening TABLE tag and before the first TR tag.

<table border="1" width="100%">
<caption align="top">
My Table Title
</caption>
<tr>
<th width="50%" align="right">
Text1.
</th>
<td width="50%">
Text2.
</td>
</tr>
</table>
My Table Title
Text1. Text2.



-----------------
Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission.





Budget




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com