Home>Article>Web Front-end> How to use b to bold font in html
How to use b to bold font: First create an HTML sample file; then create the
tag content in the body; then use thetag to bold a piece of text; finally run the Just check the file for effect.
The operating environment of this article: Windows 7 system, HTML5 version, DELL G3 computer
Tags specify bold text.
Differences between HTML 4.01 and HTML5
None.
Tips and Notes
Note: According to the HTML5 specification, thetag should be used as a last resort when no other suitable tag is more suitable. HTML5 specification states:
Tip: You can also use the CSS "font-weight" property to set bold text.
Example
PHP中文网 这是普通文本 - 这是粗体文本。
Effect:
Recommended study:《HTML video tutorial》
The above is the detailed content of How to use b to bold font in html. For more information, please follow other related articles on the PHP Chinese website!