TRENDING TOPICS

×

<mark> tag in HTML5

The <mark> tag is new in HTML5. It is used to defines marked text, if you want to highlight parts of text then use <mark> tag.

Important Definition

  • Most browsers will display the <mark> element with the following default values including like: background-color (yellow) & color (black).
  • The <mark> is used to denote content which has a degree of relevance, while <strong> indicates spans of text of importance.
  • Open & close tag required of <mark>.
  • Don't use <mark> for syntax highlighting purposes.

Example of <mark> tag

Result Look Like

Superstar Singer is a Singing Reality Show that is broadcast on Sony Entertainment Television.

<mark> Tag Browser Support

Element Chrome Edge Firefox Safari Opera Internet Explorer
<mark> Yes Yes Yes Yes Yes Yes
Version 6.0 9.0 4.0 5.0 11 9

Global Attributes

Event Attributes

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at "advertise@gdatamart.com"

© 2021 GDATAMART.COM (All Rights Reserved)