New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# data

Defines content linked to machine-readable output.

Example: Copy

Computers

  • Mini PC
  • Small laptop
  • Large laptop
  • Desktop PC
<p>Computers</p>
<ul>
  <li>
    <data value="499">Mini PC</data>
  </li>
  <li>
    <data value="899">Small laptop</data>
  </li>
  <li>
    <data value="1399">Large laptop</data>
  </li>
  <li>
    <data value="2099">Desktop PC</data>
  </li>
</ul>

value

The machine-readable output value.

"123"

You can type any type value, like numbers.

"Hello World"

You can also put text.