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 deprecated API should no longer be used, but will probably still 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

Specification Status Comment
HTML Living Standard
The definition of 'HTMLTableCaptionElement' in that specification.
Living Standard No change from HTML5.
HTML5
The definition of 'HTMLTableCaptionElement' in that specification.
Recommendation No change from Document Object Model (DOM) Level 2 HTML Specification, though align was formerly obsoleted.
Document Object Model (DOM) Level 2 HTML Specification
The definition of 'HTMLTableCaptionElement' in that specification.
Obsolete No change from Document Object Model (DOM) Level 1 Specification.
Document Object Model (DOM) Level 1 Specification
The definition of 'HTMLTableCaptionElement' in that specification.
Obsolete Initial definition.

Browser compatibility

BCD tables only load in the browser

See also

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