The <mark> tag marks a part of the text which has relevance. It can be used to highlight text for showing emphasis, highlight search terms in search results to provide context; or distinguish new content added by user by showing it differently.
In the Chrome and Firefox the tag content is marked in yellow, but it can be changed with CSS background-color property.
The tag content is written between the opening (<mark>) and closing (</mark>) tags.
<html> <head> <title>Title of the document</title> </head> <body> <p>Learn HyperText markup language (HTML) on <mark>W3Docs.com</mark> website.</p> </body> </html>