<data>



HTML <data> Tag


The <data> tag is used for showing human-readable content along with a value that is machine-readable.

The <data> tag is used by the Javascript to process the values from list.


Example :

<!DOCTYPE html>
<html>
  <body>
    <ul>
        <li><data value="1">Mango</data></li>
        <li><data value="2">Orange</data></li>
        <li><data value="3">Apple</data></li>
      </ul>
  </body>
</html>

Output :