The mark element (<mark>) is used to highlight some parts of text of a document to indicate its importance to the users. It also draws extra attention of users to the highlighted text.

Important point need to be remembered:

  • HTML5 mark element is supported by latest versions of all web browsers. Internet Explorer 8 or earlier versions of Internet Explorer do not support mark tag.

There is a HTML5 mark element example given below:

<h1>About <mark>HTML5</mark></h1>
<p><mark>HTML5</mark> is the fifth version of HyperText Markup Language. Many elements like header, footer, audio, video etc. have been introduced in <mark>HTML5</mark>.</p>

S Ghosh

Leave a Reply

Your email address will not be published. Required fields are marked *