HTMLTableCaptionElement

The HTMLTableCaptionElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.

EventTarget Node Element HTMLElement HTMLTableCaptionElement

Properties

Inherits properties from its parent, HTMLElement.

HTMLTableCaptionElement.align

Is a DOMString which represents an enumerated attribute indicating alignment of the caption with respect to the table.

Methods

No specific method; inherits properties from its parent, HTMLElement.

Specifications

Specification
HTML Standard
# htmltablecaptionelement

Browser compatibility

BCD tables only load in the browser

See also

  • The HTML element implementing this interface: <caption>.