HTML Tag: data
Associates machine-readable data with content. This can be used in conjunction with microdata (see Global attributes) or manipulated by JavaScript or other data processors.
Required Attributes
Attribute | Description | Possible values |
---|---|---|
value |
A representation of the element’s contents. | Any machine-readable string. |
Optional Attributes
Example
<h2>Microchipped kitties</h2>
<ul>
<li><data value="xx57753">Fluffy</data></li>
<li><data value="xy49754">Bongo</data></li>
<li><data value="xx09814">Mrs. Hardbottom</data></li>
</ul>