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
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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
align
Deprecated
Chrome Full support YesEdge Full support 12Firefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung 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>.

Document Tags and Contributors

Last updated by: ExE-Boss,