Back to Content

HTMLDataElement

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

latest832 B
Original Source

{{APIRef("HTML DOM")}}

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

Instance properties

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

  • {{domxref("HTMLDataElement.value")}}
    • : A string reflecting the value HTML attribute, containing a machine-readable form of the element's value.

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("data")}}.