We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

The HTML <data> element links a given content with a machine-readable translation. If the content is time- or date-related, the <time> element must be used.

Content categories Flow content, phrasing content, palpable content.
Permitted content Phrasing content.
Tag omission None, both the starting and ending tag are mandatory.
Permitted parents Any element that accepts phrasing content.
DOM interface HTMLDataElement


This element's attributes include the global attributes.

This attribute specifies the machine-readable translation of the content of the element.


The following example displays product names but also associates each name with a product number.

<p>New Products</p>
 <li><data value="398">Mini Ketchup</data></li>
 <li><data value="399">Jumbo Ketchup</data></li>
 <li><data value="400">Mega Jumbo Ketchup</data></li>


Specification Status Comment
HTML Living Standard
The definition of '<data>' in that specification.
Living Standard No change from HTML5
The definition of '<data>' in that specification.
Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support62 Yes22 No49 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6262 Yes2249 No ?

See also

Document Tags and Contributors

 Last updated by: yuheiy,