description & Usage
The <mark> tag is used to highlight text.
description | tag |
---|---|
To specify the main titles | <h1> - <h6> |
For emphasis on text Italic style <Equal to <strong |
|
For important texts Bold style <Equal to <em |
|
For important texts Highlight style <Less than <strong |
|
to mark Bold style unimportant |
|
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<mark> |
Global Attributes
The <mark> tag supports the HTML Global Attributes.
Event Attributes
The <mark> tag supports the HTML Event Attributes.
Default CSS
Most browsers will display the <mark> tag with the following default style: