articles

Home / DeveloperSection / Articles / Mark tag in html5

Mark tag in html5

Anonymous User7228 27-Jul-2011

<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


Updated 01-Jul-2020
I am a content writter !

Leave Comment

Comments

Liked By