Example

A simple <mark> tag:

Laboratory

description & Usage

The <mark> tag is used to highlight text.

description tag
To specify the main titles <h1> - <h6>

For emphasis on text

Italic style

<Equal to <strong

 

<em>

 

For important texts

Bold style

<Equal to <em

 

<strong>

 

For important texts

Highlight style

<Less than <strong

 

<mark>

 

to mark

Bold style

unimportant

 

<b>

 

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<mark>

Global Attributes

The <mark> tag supports the HTML Global Attributes.

Event Attributes

The <mark> tag supports the HTML Event Attributes.

Default CSS

Most browsers will display the <mark> tag with the following default style: