Home > Article > Web Front-end > What does the css b tag mean?
css The b tag refers to the tag in HTML. The purpose of this tag is to define bold text. All major browsers support the tag; it can also be used in CSS. The "font-weight" property sets bold text.
The operating environment of this tutorial: Windows 10 system, HTML5&&CSS3 version, DELL G3 computer
css What does the b tag mean?
refers to the tag.
tag defines bold text.
Note:
According to the HTML 5 specification, the tag should be used as a last resort, and should be used only when no other tag is suitable.
HTML 5 specification statement: Titles should be represented by
Tip:
You can also use the CSS "font-weight" property to set bold text.
Sample code such as:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <p>这是一个普通的文本- <b>这是一个加粗文本</b>。</p> </body> </html>
Effect such as:
## Recommended learning: "css video tutorial》
The above is the detailed content of What does the css b tag mean?. For more information, please follow other related articles on the PHP Chinese website!