caption

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

Attributes

<caption attribute-name="attribute-value"></caption>

Global

CSS

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

Example

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1