HTML <data> Element Reference

The HTML <data> element associates visible content with a machine-readable value.

<data>

HTML <data> Element Reference

The HTML <data> element associates visible content with a machine-readable value.

Categories

  • Text-level semantics

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical data element example.

<data value="SKU-1042">Blue notebook</data>

Related references

Description

The HTML <data> element associates visible content with a machine-readable value.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <data> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies