DEV Community

Cover image for HTML tags | mark
Carlos Espada
Carlos Espada

Posted on • Edited on

5

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more