HTML <mark> Element Reference

The HTML <mark> element highlights text that is relevant in the current context.

<mark>

HTML <mark> Element Reference

The HTML <mark> element highlights text that is relevant in the current context.

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 mark element example.

<p>Search result for <mark>reference</mark>.</p>

Related references

Description

The HTML <mark> element highlights text that is relevant in the current context.

References

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

Similar or alternative tools

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