" tag can define bold text and achieve a bold font effect; 2. The "" tag will make the font text that needs to be emphasized appear in the browser It is displayed in bold."> What is the html tag that controls the bold display of fonts?-Front-end Q&A-php.cn

What is the html tag that controls the bold display of fonts?

青灯夜游
Release: 2023-01-06 11:16:54
Original
17697 people have browsed it

Html tags that control the bold display of fonts: 1. The "" tag can define bold text and achieve a bold font effect; 2. The "" tag will make Font text that needs to be emphasized is displayed in bold in the browser.

What is the html tag that controls the bold display of fonts?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

Html tags that control font bold display ---"" tag

## tag definition bold text.

Below we use a simple code example to introduce how to use the tag of html to achieve the effect of bold fonts!

     <b>标签加粗字体 

这是一段测试文字,这里使用b标签来加粗字体

Copy after login

Rendering:

What is the html tag that controls the bold display of fonts?

We can already see from the picture that the second half of the text has been bolded, which can match the first half of the text (Text in bold) for comparison. Here we mainly use the tag in html. The use of thetag in html is very simple. Just write the text that needs to be bolded in thetag!

HTML tags that control font bold display ---"" tag##tag is a phrase Tags are important text used to define samples of computer programs and have the function of emphasizing the text.

Thetag will emphasize text by making the font bold, so thetag will cause the text that needs to be emphasized to be displayed in bold in the browser.

Let’s use a simple code example to introduce how to use thetag of HTML to achieve the effect of bold fonts!

     <strong>标签加粗字体 

这是一段测试文字,这里使用strong标签来加粗字体

Copy after login

Rendering:

##We can already see from the picture that the use of thetag in html is very simple, just directly Write the text that needs to be emphasized in thetag to make the text bold!What is the html tag that controls the bold display of fonts?

Recommended tutorial: "

html video tutorial

"

The above is the detailed content of What is the html tag that controls the bold display of fonts?. 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!