How to bold text in html

coldplay.xixi
Release: 2023-01-03 09:26:32
Original
23495 people have browsed it

htmlHow to bold text: First create a new HTML document, enter the p tag in the body tag; then enter the b tag in the p tag, and enter the text in the b tag.

How to bold text in html

The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer. This method is suitable for all brands of computers.

htmlHow to bold text:

1. Create a new HTML document, as shown in the figure

How to bold text in html

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

How to bold text in html

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

How to bold text in html

4. Then enter the text in the b tag, taking hahaha as an example

How to bold text in html

##5. Then enter the p tag and hahaha, As shown in the picture

How to bold text in html

6. Press f12 to preview and you can see that the font with b tag is bolded. The following is the font without b tag

How to bold text in html

Related learning recommendations:html video tutorial

The above is the detailed content of How to bold text 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!