Web/API/HTMLTableCaptionElement

From Get docs


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 '
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 StandardThe definition of 'HTMLTableCaptionElement' in that specification. Living Standard No change from HTML5.
HTML5The 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 SpecificationThe definition of 'HTMLTableCaptionElement' in that specification. Obsolete No change from Document Object Model (DOM) Level 1 Specification.
Document Object Model (DOM) Level 1 SpecificationThe definition of 'HTMLTableCaptionElement' in that specification. Obsolete Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
HTMLTableCaptionElement Chrome

Full support Yes

Edge

Full support 12

Firefox

Full support Yes

IE

Full support Yes

Opera

Full support Yes

Safari

Full support Yes

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support Yes

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

align

Deprecated'

Chrome

Full support Yes

Edge

Full support 12

Firefox

Full support Yes

IE

Full support Yes

Opera

Full support Yes

Safari

Full support Yes

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support Yes

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support
Deprecated. Not for use in new websites.'
Deprecated. Not for use in new websites.


See also

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