HTML <mark> Tag


The mark tag is used to highlight or mark text in an HTML document that is of particular interest or importance.

The text within the <mark> tag is often rendered as text with a yellow background colour in browsers.

The <mark> element is another frequent name for this tag.

Syntax

Example

Preview

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<mark> 6.0 4.0 5.0 9.0 11.1