<mark>
HTML5 <mark> Tag
Instance
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <p>Do not forget to buy <mark>milk</mark> today.</p> </body> </html>
Run Example»
Click the "Run Instance" button to view the online instance
Browser support
Internet Explorer 9+, Firefox, Opera, Chrome and Safari supports the <mark> tag.
Note: Internet Explorer 8 and earlier does not support the <mark> tag.
Tag definition and usage instructions
<mark> Tag defines text with a mark.
Please use the <mark> tag when you need to highlight text.
The difference between HTML 4.01 and HTML5
<mark> is the new HTML5 tag.
Global attributes
<mark> tag supports global attributes, see the complete attribute table HTML global attributes.
Event attributes
<mark> tag supports all HTML event attributes.