HTML <mark> Tag
Highlight parts of a text:
<p>Do not forget to buy <mark>milk</mark> today.</p>
Definition and Usage
The <mark>
tag defines marked text.
Use the <mark>
tag if you want to highlight parts of your text.
Default CSS Settings
Most browsers will display the <mark> element with the following default values:
mark {
background-color: yellow;
color: black;
}