--- title: HTMLDataElement slug: Web/API/HTMLDataElement tags: - API - HTML DOM - HTMLDataElement - Interface - NeedsTranslation - Reference - TopicStub - data translation_of: Web/API/HTMLDataElement ---
The HTMLDataElement
interface provides special properties (beyond the regular {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating {{HTMLElement("data")}} elements.
{{InheritanceDiagram(600, 120)}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', "#htmldataelement", "HTMLDataElement")}} | {{Spec2('HTML WHATWG')}} | |
{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-data-element', 'HTMLDataElement')}} | {{Spec2('HTML5 W3C')}} |
{{Compat("api.HTMLDataElement")}}