HTML

HTMLDataElement

HTMLDataElement<data>

The HTMLDataElement interface offers additional attributes for manipulating <data> elements (in addition to the regular HTMLElement interface, which is also made accessible to it by inheritance). To add a machine-readable translation of a specified piece of material, use the <data> tag. This element provides both a machine-readable value for data processors, and a human-readable value for rendering in a browser.

Attribute Value Description
value machine-readable format Specifies the machine-readable translation of the content of the element

Browser Compatibility

Element Chrome Edge Firefox Safari Opera
<data> Yes Yes Yes No Yes