In CSS, you can use the font-weight attribute to cancel bolding. You only need to set the "font-weight:normal" style to the element; the font-weight attribute is used to set the text used in the display element. Font thickness, when the value is normal, it is the default value, indicating the definition of standard characters.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
Use css to remove bold font style. Some HTML tags come with bold font style. You can use css style to remove bold font effect.
font-weight——bold, bold style words
Remove and cancel bold bold Font style:
font-weight:normal
No matter which HTML tag comes with bold fonts, if you want to cancel the removal, there is a css removal method All are the same.
Methods to individually remove bold fonts with bold styles:
Remove b tag bold
b{font-weight:normal}
Cancel html b tag bold Body screenshot
Cancel strong tag bold
strong{font-weight:normal}
h1{font-weight:normal} h2{font-weight:normal} h3{font-weight:normal} h4{font-weight:normal}
b,strong,h1,h2,h3,h4{font-weight:normal}
The above is the detailed content of How to cancel boldness in css. For more information, please follow other related articles on the PHP Chinese website!