The tag is used to add a machine-readable translation of a given content. This element provides both a machine-readable value for data processors, and a human-readable value for rendering in a browser. Tip: If the content is time- or date-related, use the element instead. |
Example:
HTML
<ul>
<li><data value="21053">Cherry Tomato</data></li>
<li><data value="21054">Beef Tomato</data></li>
<li><data value="21055">Snack Tomato</data></li>
</ul>
Attribute | Value | Description |
---|---|---|
value | machine-readable format | Specifies the machine-readable translation of the content of the element |
How to create HTML <data> Tag | HTML Tag |
What Type of Browsers will Support for HTML <data> Tag | HTML Tag |
Attributes for HTML <data> Tag | HTML Tag |
Read Full: | HTML Tag |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 8 months ago |
Uploaded by: | Admin |
Views: | 10 |
Ref on: | View |