MDN wants to learn about developers like you:

Terjemahan ini belum lengkap. Mohon bantu menerjemahkan artikel ini dari Bahasa Inggris.


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


This element includes 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 its UPC code.

<p>New Products</p>
 <li><data value="3967381398">Mini Ketchup</data></li>
 <li><data value="3967381399">Jumbo Ketchup</data></li>
 <li><data value="3967381400">Mega Jumbo Ketchup</data></li>


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

Browser compatibility

Help improve compatibility tables by filling out this 11 question survey.

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support Not supported 22.0 (22.0) bug 839371 Not supported Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported Not supported Not supported Not supported Not supported

See also

Tag Dokumen dan Kontributor

 Kontributor untuk laman ini: winkyseptya
 Terakhir diperbarui oleh: winkyseptya,