Table Caption | WebReference

Table Caption

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Table Caption

<caption> ... </caption>

Description: Used to create a description for a table.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • align*
  • class
  • dir
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • style
  • title

* Deprecated

Code Example:

<table>
<caption>
High Quality Guitars</caption>
  <tr>
    <td>
Gibson</td>
    <td>
Fender</td>
    <td>
Jay Turser</td>
  </tr>
</table>

Comments: Should be used only once per table.




Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/