<mark> HTML Tag
- Element of
- Fonts and Web Typography
- What does
<mark> HTML Tag
do? - The <mark> element is used to highlight text inside of another element such as a paragraph, list, or table. Text to which the <mark> element has been added is considered to be particularly relevant in a specific context.
- Display
- inline
- Usage
- semantic | textual
Code Example
<p>This is a <mark>new</mark> element in HTML 5.</p>
This is a new element in HTML 5.
The <mark>
element is used to define a section of the content that should be highlighted. By default, most browsers render text within <mark>
tags as black text on a yellow background.
Officially, <mark>
should be used to emphasize text that was not emphasized in the original content. As such, it is designed to pick out particular sections for the reader's attention.

Browser Support for mark
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
9 | 4 | 6 | 13 | 5 | 11.1 |