Web/API/HTMLDataElement

From Get docs


The HTMLDataElement interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <data> elements.

Properties

Inherits properties from its parent, HTMLElement.

HTMLDataElement.value
Is a DOMString reflecting the value HTML attribute, containing a machine-readable form of the element's value.

Methods

No specific method; inherits methods from its parent, HTMLElement.

Specifications

Specification Status Comment
HTML Living StandardThe definition of 'HTMLDataElement' in that specification. Living Standard  
HTML5The definition of 'HTMLDataElement' in that specification. Recommendation  

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

Full support 62

Edge

Full support ≤18

Firefox

Full support 22

IE

No support No

Opera

Full support 49

Safari

Full support 10

WebView Android

Full support 62

Chrome Android

Full support 62

Firefox Android

Full support 22

Opera Android

Full support 46

Safari iOS

Full support 10

Samsung Internet Android

Full support 8.0

value Chrome

Full support 62

Edge

Full support 14

Firefox

Full support 22

IE

No support No

Opera

Full support 49

Safari

Full support 10

WebView Android

Full support 62

Chrome Android

Full support 62

Firefox Android

Full support 22

Opera Android

Full support 46

Safari iOS

Full support 10

Samsung Internet Android

Full support 8.0

Legend

Full support  
Full support
No support  
No support


See also

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