The <mark> tag in HTML is used to define the marked text. It is used to highlight the part of the text in the paragraph. <mark> tag is new in HTML5.
<mark> Contents... </mark>
Example 2: The CSS property can also be used to change the marked color and other property.
Supported Browsers: The browser supported by <mark> tag are listed below:
- Google Chrome 6.0
- Internet Explorer 9.0
- Firefox 4.0
- Safari 5.0
- Opera 11.1
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.