HTML5 mark Tag

HTML5 mark Tag

If you want to highlight a text, then use the HTML5 <mark> tag. The highlighted text will allow readers to understand the relevance of the highlighted word/words in a particular context.

Always remember, do not use the <mark> tag for syntax highlighting. Also, the <mark> tag isn’t the <b> or <strong> tag.

Example

Here’s the output, which shows the words highlighted using the HTML5 <mark> element,

HTML5 Mark Tag

HTML5 main Tag
HTML5 menuitem Tag
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create free tutorials for all.

No Comments

Post A Comment