The HTML5 <mark> tag

The <mark> tag 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. This element is also newly introduced in HTML5.

Web browser support:

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>

Leave a Reply

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

1 × one =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>