HTML
This element marks the text to be emphasized in bold. For all browsers, this means displaying the text in bold (bold) style.
Browser support
All major browsers support the label.
Label definition and instructions for use
The label defines the text in bold.
The default css setting
b {
font-weight: bold;
}
The difference between HTML 4.01 and HTML5
No.
Tips and comments
Note: According to the HTML 5 specification, the label should be the last resort and should only be used if no other tag is appropriate.
HTML 5 specification declaration: Title should be used
Labels
slt;h1> - slt;h6>
indicates that the highlighted text should be
used with slt;em>
Labels indicate that
important
text should be represented by a label, and marked or highlighted text should be represented by a
label.
Tip: You can also use the "font-weight" property of CSS to set bold text.
Global properties
Labels support the global properties of HTML.
The event property
The tag supports the event properties of HTML.