CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmasters (CSS Editor / HTML Editor / CSS Validator / HTML Tutorial)
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersHome
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Editor
SEO Report For Windows - The ultimate website ranking checker / search engine optimization toolkit!SEO Report (New)
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Download
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersOrder
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersSupport
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersNews
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersAwards
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersContact
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersLinks
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersAbout
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Validator
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Tools
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS FAQ
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Tutorial
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Articles
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Resources
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersCSS Layouts
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersHTML Tidy
Style Studio CSS Editor - CSS cascading style sheets made simple with Style Studio, powerful CSS Editor / HTML Editor for professional webmastersHTML Tutorial
   
Home » HTML Tutorial » CAPTION - Table Caption


CAPTION - Table Caption


Summary

Syntax <CAPTION>...</CAPTION>
Attribute Specifications
Contents Inline elements
Contained in TABLE

Details

The CAPTION element defines a table caption. When used, CAPTION must be the first element in the TABLE. Only inline elements (e.g., STRONG) may be used within CAPTION.

A good caption should provide a short heading for the table. For simple tables, the caption can also act as an adequate summary, but for more complex tables, authors should supplement the CAPTION with a full summary, either through TABLE's SUMMARY attribute or within a paragraph outside of the TABLE. The following example features a simple table where the CAPTION provides a heading and an adequate table summary:

<TABLE>  <CAPTION>Common Usenet Abbreviations</CAPTION>  <THEAD>    <TR>      <TH>Abbreviation</TH>      <TH>Long Form</TH>    </TR>  </THEAD>  <TBODY>    <TR>      <TD>AFAIK</TD>      <TD>As Far As I Know</TD>    </TR>    <TR>      <TD>IMHO</TD>      <TD>In My Humble Opinion</TD>    </TR>    <TR>      <TD>OTOH</TD>      <TD>On The Other Hand</TD>    </TR>  </TBODY></TABLE>

The next example uses TABLE's SUMMARY attribute to complement the CAPTION:

<TABLE SUMMARY="This table gives the character entity reference,                decimal character reference, and hexadecimal character                reference for symbols and Greek letters.">  <CAPTION>Symbols and Greek Letters in HTML 4.0</CAPTION>  <COLGROUP>  <COLGROUP SPAN=3>  <THEAD>    <TR>      <TH SCOPE=col>Character</TH>      <TH SCOPE=col>Entity</TH>      <TH SCOPE=col>Decimal</TH>      <TH SCOPE=col>Hex</TH>    </TR>  </THEAD>  <TBODY>    <TR>      <TD SCOPE=row>Latin small f with hook</TD>      <TD>&amp;fnof;</TD>      <TD>&amp;#402;</TD>      <TD>&amp;#x192;</TD>    </TR>    ...  </TBODY></TABLE>

The deprecated ALIGN attribute of CAPTION specifies the alignment of the caption relative to the table. Possible values are top (the default), bottom, left, and right.


More Information


Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.

Copyright © John Pozadzides and Liam Quinn. All rights reserved.


Home » HTML Tutorial » CAPTION - Table Caption

 

Related Links :


Acknowledgements    |    Site Map    |    FAQ    |    Website Ranking Checker    |    HighDots Forums
Copyright OverZone Software 2000-2008. All rights reserved.


html 4.01 | css 2 (W3C) | css 2