- Element of
- Fonts and Web Typography
- What does
- 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.
- semantic | textual
<p>This is a <mark>new</mark> element in HTML 5.</p>
This is a new element in HTML 5.
<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.
<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