Home > DeveloperSection > Articles > Mark tag in html5

Mark tag in html5


HTML5 HTML5 
Ratings:
0 Comment(s)
 3405  View(s)
Rate this:

Mark tag in html5

<mark> tag is new tag in html5. It will be used to marked important text in document. Whenever you want to highlight some portion of text in your document then we will use mark tag.

Following example will represents use of mark tag in html5

<body>

    <form>

        <p>

            Hello, This is a demonstration of <mark>mark</mark>

            tag in <mark>html5</mark>.

        </p>

    </form>

</body>

Output of following code snippet is as follows

Mark tag in html5


Don't want to miss updates? Please click the below button!

Follow MindStick