HTML: The Markup Language Reference

captiontable title # T

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

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Additional constraints and admonitions #

Tag omission #

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

Permitted parent elements #


DOM interface #

interface HTMLTableCaptionElement : HTMLElement {};

Typical default display properties #

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