<

HTML <data> Tag

The <data> tag links the given content with a machine-readable translation.This element provides both a machine-readable value for data processors, and a human-readable value for rendering in a browser.

Attributes



Attribute Value Description
value machine-readable format Specifies the machine-readable translation of the content of the element


Example




<!DOCTYPE html>
<html>
<body>

<ul>
  <li><data value="21053">Big Potato</data></li>
  <li><data value="21054">Chiken Meat</data></li>
  </ul>

</body>
</html>
















© copyright 2017-2022 Completedone pvt ltd.