How to set boldness in html

藏色散人
Release: 2023-01-04 09:35:35
Original
9425 people have browsed it

How to set bold in html: First create an HTML sample file; then enter the p tag in the body tag; then enter text in the b tag; finally press f12 to preview and you will see the font with b tag added thick.

How to set boldness in html

The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

Create a new HTML document, as shown in the picture

How to set boldness in html

Enter the p tag in the body tag, as shown in the picture

How to set boldness in html

Then enter the b tag in the p tag, as shown in the picture

How to set boldness in html

Then enter the text in the b tag, take Hahaha as an example

How to set boldness in html

Then enter the p tag and hahaha, as shown in the picture

How to set boldness in html

##Press f12 to preview and you can see the font with b tag Bold, the following is without the b tag

How to set boldness in html

[Recommended learning:

HTML video tutorial

The above is the detailed content of How to set boldness in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template