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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs