DEV Community

Cover image for HTML tags | mark
Carlos Espada
Carlos Espada

Posted on • Updated on

HTML tags | mark

It is used to mark or highlight elements that have special relevance for the user in a text. A classic example is usually highlighting the search term in search results, although it can also be text in a quote, for example.

Not to be confused with the <strong> element, which is used for emphasis and has no semantic value.

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

Definition and example | Support

Top comments (0)