<data>: The HTML Data Element
1 Description
The HTML <data>
element is used to link
together two different forms of data. Typically the <data>
element is used to link human readable data (such as a product title)
with something machine-readable (like a product id number).
2 Examples
<!DOCTYPE html>
<html>
<head>
<title>Example Page</title>
</head>
<body>
<h1>Customer Order Summary</h1>
<ol>
<li><data value="995806">18/3 Stainless Steel Washer</data></li>
<li><data value="995807">18/3 Stainless Steel Spring Washer</data></li>
<li><data value="995808">18/3 Stainless Steel Round Head Screw, 1 inch</data></li>
</ol>
</body>
</html>
This document was last updated: