HTML Mark Tag for Easy Highlighting
Use the mark tag for easy HTML highlighting of text in a sentence. The highlighting is yellow, with good browser support.
<!-- the mark tag highlights "marked" text with yellow highlighting -->
<mark>text to hightlight</mark>
Example:
<p>Corem <mark>ipsum dolor sit amet</mark>, consectetur adipiscing <mark>elit</mark>, sed do eiusmod tempor incididunt.</p>
Result:
Corem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
Marked yellow highlighting with the HTML mark tag.