HTML: The Markup Language

captiontable title # T

The caption element represents the title of the table that is its parent.

Permitted content #

Permitted attributes #

Additional constraints and admonitions #

Tag omission #

A caption element must have both a start tag and an end tag.

Permitted parent elements #

table

DOM interface #

interface HTMLTableCaptionElement : HTMLElement {};

Typical default display properties #

caption {
display: table-caption;
text-align: center; }