Html 5 Mark Tag

The <mark> tag was introduced in HTML 5.The <mark> tag is used to mark the text. The <mark> tag did not exist in older versions of HTML.if you need to highlight parts of your text use this <mark> tag.

Syntax:

<p>...<mark>...</mark>...</p>

Example Code

<!DOCTYPE HTML>
<p>Do not forget to see <mark>TV</mark> today.</p>

Out Put :



Do not forget to see TV today.

In the above example has been marked to TV text.





Content