This article introduces you to the mark tag in HTML5, describes some of the definitions and uses included in the HTML5 mark tag, and some of the role and instance codes of the HTML5 mark tag, which is simple to use to make the text look bright. I hope you will read it carefully.
HTML5 mark label definitions and instructions for use:
The <mark> tag defines the text with the token.
Use the <mark> tag when you need to highlight text.
HTML5 <mark> Tag Examples
Some text highlighting:
<p>do not forget to buy <mark>milk</mark> today.</p>
HTML5 Mark label highlighting text
Mark tags in HTML5 are used:
<mark></mark>
HTML5 Mark Tag's role:
With the mark tag element, you can highlight the text in your document for an eye-catching effect.
Mark Action Instance Code
<! DOCTYPE html>
Notes for HTML5 Mark tags:
Using the strong, EM elements can also achieve this effect, it is not recommended to use strong, EM elements, because strong, EM elements of the role of emphasis on text, not just highlighting text.
Global Properties
<mark> tags support global properties to view full property sheet HTML global properties.
Event Properties
The <mark> tag supports all HTML event properties.
The difference between HTML 4.01 and HTML5
<mark> is HTML5 new label.
Browser support
Internet Explorer + +, Firefox, Opera, Chrome, and Safari support <mark> tags.
Note: Internet Explorer 8 and earlier versions do not support <mark> tags.
"Recommended"
Examples teach you how to use HTML strike tags
What does the HTML noscript tag mean? How much do you know about the use of <noscript> tags?