The HTMLTableCaptionElement
interface special properties (beyond the regular HTMLElement
interface it also has available to it by inheritance) for manipulating table caption elements.
PropertiesEdit
Inherits properties from its parent, HTMLElement
.
Name | Type | Description |
---|---|---|
align |
DOMString |
Enumerated attribute indicating alignment of the caption with respect to the table. |
MethodsEdit
No specific method; inherits properties from its parent, HTMLElement
.
SpecificationsEdit
Specification | Status | Comment |
---|---|---|
WHATWG 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. |
Recommendation | No change from Document Object Model (DOM) Level 1 Specification. |
Document Object Model (DOM) Level 1 Specification The definition of 'HTMLTableCaptionElement' in that specification. |
Recommendation | Initial definition. |
Browser compatibilityEdit
See alsoEdit
- The HTML element implementing this interface:
<caption>
.