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


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.


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


Browser compatibility

BCD tables only load in the browser

See also

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