DEV Community

Cover image for HTML tags | data
Carlos Espada
Carlos Espada

Posted on • Edited on

HTML tags | data

It is used to provide a machine-readable translation of a certain content, for example a price or code in a list of products.

If the content is related to a time or a date, use <time> instead.

The value attribute specifies the translation of the content that will be machine readable.

  • Type: inline
  • Self-closing: No
  • Semantic value: No

Definition and example | Support

Top comments (0)

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay