Home > Article > Web Front-end > How to use html mark tag
The
mark tag is a new tag in HTML5, which is used to define text with marks and is used when text needs to be highlighted. Note: Internet Explorer 8 and earlier does not support the tag.
html How to use mark tag?
html The mark tag defines text with marks.
Description: The tag is a new tag in HTML 5 that can be used when you need to highlight text.
Note: Internet Explorer 8 and earlier does not support the tag.
html mark tag example
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <p><mark>西门大官人</mark>是PHP中文网的<mark>高级讲师</mark></p> </body> </html>
Rendering:
The above is the detailed content of How to use html mark tag. For more information, please follow other related articles on the PHP Chinese website!