View video tutorial

HTML <mark> Tag


The <mark> tag is used to mark or highlight some text.

HTML <mark> Tag

The <mark> element represents the text that has been marked or highlighted.

Mark represents text for reference or notation purposes, emphasizing the importance of the text.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.


<p>Mark represents text for <mark>reference or notation purposes</mark>, <mark>emphasizing the importance</mark> of the text.</p>
Try it Now »

Click on the "Try it Now" button to see how it works.