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

Get it now →

# data

Defines content linked to machine-readable output.

Example: Copy


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


The machine-readable output value.


You can type any type value, like numbers.

"Hello World"

You can also put text.