Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use mark in html5

Shulou Source: shulou.com Published: 2022-06-02 04:41:41 10月05日 Update

This article mainly introduces how to use mark in html5, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

In html5, the mark tag is used to define text with marks, often used when text needs to be highlighted, indicating that the content of the page needs to be highlighted, and the syntax is "text content that needs to be highlighted."

Operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.

What is the use of Mark in HTML5?

Tags define text with tokens.

Use labels when you need to highlight text.

The mark element indicates the content that needs to be highlighted or highlighted in the page, and it often appears in search results, such as keyword highlighting in search results.

Examples are as follows:

Document

Text to be highlighted

Output:

Thank you for reading this article carefully. I hope that the article "How to Use Mark in html5" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support you more and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!

Tags: Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Linux Microsoft OPPO Reno NVidia