Posts in current category
May 03, 2021 13:15 HTML5
In HTML5, you can use the hashtag to achieve bolder effects on some text, refer to the following example:
Try it out . . .
All major browsers support the label.
The label defines the text in bold.
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.