caption element | caption object
[This documentation is preliminary and is subject to change.]
Specifies a brief description for a table.
![]() ![]() |
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 11.2.2
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | inline |
DOM Information
Inheritance Hierarchy
Remarks
The CAPTION element should be a child of the TABLE element.
The table object and its associated elements have a separate table object model, which uses different methods than the general object model. For more information about the table object model, see Building Tables Dynamically.
Windows Internet Explorer 8 and later versions. Windows Internet Explorer supports the caption-side Cascading Style Sheets (CSS) property for webpages that are rendered in IE8 Standards mode or later. The caption-side property is the preferred way to position a table caption.
This element is a $disp element.
This element requires a closing tag.
Build date: 3/8/2012

