<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

  Modified On Nov-20-2017 05:20:01 AM

Leave Comment