There are two ways to bold text in CSS, one is to use HTML bold tags, and the other is to use CSS to bold. Today I will introduce to you two different bolding methods and the differences between the two methods
font-weight
1、<b>我被b标签加粗</b> 2、<strong>我被strong标签加粗</strong>
1. The difference between b and strong bold 2. html b (b bold) 3. html strong (strong bold) css bold The difference between Css and How to choose css bold or label boldWhether it is div css bold or b and strong tags bold, sometimes in order to save html tags and make the HTML source code more concise we Just set the css bolding method to bold the text font. But sometimes we need the B or strong tag to be bold. In order to facilitate SEO, we can choose the html tag to bold. There are so many ways and differences in how to bold text in CSS. Friends in need can save it. Please also continue to pay attention to other
updates on this site.
Related reading:The above is the detailed content of How to bold text in CSS. For more information, please follow other related articles on the PHP Chinese website!