How to make fonts bold in html (method introduction)
Modification of fonts Beautifying a web page is also very important. A well-beautified web page will bring an intuitive visual impact to people. Today I will tell you how to implement bold fonts in HTML. Let's take a look. .
<style type="text/css"> .类名{ font-weight: 700;//加粗 font-weight: 400;//正常 } </style>
<b> <p>我是字体加粗b标签</p> </b> <strong> <p>我是字体加粗strong标签</p> </strong>
Thank you for reading, I hope you will benefit a lot.
This article is reproduced from: https://blog.csdn.net/lovexiuwei/article/details/82668448
Recommended tutorial: "HTML Tutorial"
The above is the detailed content of How to make fonts bold in HTML (method introduction). For more information, please follow other related articles on the PHP Chinese website!