Back to Content

HTMLTableCaptionElement

files/en-us/web/api/htmltablecaptionelement/index.md

latest836 B
Original Source

{{ APIRef("HTML DOM") }}

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

{{InheritanceDiagram}}

Instance properties

Inherits properties from its parent, {{domxref("HTMLElement")}}.

  • {{domxref("HTMLTableCaptionElement.align")}} {{deprecated_inline}}
    • : A string which represents an enumerated attribute indicating alignment of the caption with respect to the table.

Instance methods

No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • The HTML element implementing this interface: {{HTMLElement("caption")}}.