<mark> HTML Tag
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Element of
- Learn How Fonts And Web Typography Work In HTML: A Beginner's Guide
- What does
<mark> HTML Tagdo?
- 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