Get to know MDN better
Esta página ha sido traducida del inglés por la comunidad. Aprende más y únete a la comunidad de MDN Web Docs.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since octubre de 2017.
El Elemento HTML <data> vincula un contenido dado con una traducción legible por una máquina. Si el contenido está relacionado con time- o date-, debe usarse el elemento <time>.
| Contenido permitido | Phrasing content. |
| Omisión de etiqueta | Ninguna, tanto la etiqueta inicial como la final son obligatorias. |
| Elementos permitidos | Any element that accepts phrasing content. |
| interfaz DOM | HTMLDataElement |
Este elemento incluye Atributos globales
valueThis attribute specifies the machine-readable translation of the content of the element.
El siguiente ejemplo muestra nombres de productos pero también asocia a cada uno con su código UPC.
| HTML # the-data-element |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 21 jun 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.