HTMLTableCaptionElement

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

Properties

Inherits properties from its parent, HTMLElement.

HTMLTableCaptionElement.align This is an obsolete API and is no longer guaranteed to work.
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

Browser compatibility

BCD tables only load in the browser

See also

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