ⓘ caption – table title # T
The
caption
element represents the title of the
table
that is its parent.
Permitted attributes #
- ⓘ
global attributes
- Any attributes permitted globally.
- region =
#
- (detailed attribute description to come)
Additional constraints and admonitions #
-
The “align” attribute on the “caption” element is obsolete.
Use CSS instead. http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes
Permitted parent elements #
table
DOM interface #
interface HTMLTableCaptionElement : HTMLElement {};
Typical default display properties #
caption {
display: table-caption;
text-align: center; }