Javatpoint Logo
Javatpoint Logo

HTML <mark> tag

HTML <mark> tag is used to highlight the some text part inside of another element such as paragraph, for reference or any notation purpose.

This is a newly added tag and introduced in HTML5.

In most of the browser, the text contained with <mark> tag renders with the yellow background, but it can be changed using CSS background-color property.


Following are some specifications about the HTML <mark> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Semantic and textual


Test it Now


HTML mark tag


Global attribute:

The <mark > tag supports the global attributes in HTML

Event attribute:

The <mark> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
Next TopicHTML marquee Tag

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA