May 03, 2021 HTML5
In HTML5, you can use the hashtag to achieve bolder effects on some text, refer to the following example:
<p>这是一个普通的文本- <b>这是一个加粗文本</b>。</p>
Try it out . . .
All major browsers support the label.
The label defines the text in bold.
No.
Note: According to html 5's specification, the label should be the last resort and should only be used if no other tag is appropriate. HTML 5 Specification Statement: The title should be indicated by the label, the highlighted text should be represented by the label, the important text should be represented by the label, and the marked or highlighted text should be represented by the label.
Tip: You can also use the "font-weight" property of CSS to set bold text.
Labels support the global properties of HTML.
The tag supports the event properties of HTML.