When facing css styles, many novices don’t know how to use strong tags and b tags or remove strong tags and b tags. Let’s talk about how to remove strong tags and b tags.
Before we talk about how to remove the strong tag and b tag, we must first talk about the difference between the strong tag and the b tag.
1: What are strong tags and b tags
The strong tag is a tag used to express an emphasis, while the b tag is a simple tag that indicates boldface.
2: How to remove the strong tag and b tag in css
We can use the words in the css style to remove them, the syntax is font-weight, font-weight syntax There are many. First, we need to remove the boldness of the object. We can use font-weight:normal, otherwise it is font-weight:bold.
Three: CSS removal of strong tag and b tag case
Removal of bold css style
b{font-weight:normal} strong{font-weight:normal}
Many times, we do not need bold style , we just bold the html in a certain place, then we can use the above code to achieve it.
The above is how to remove the strong tag and b tag from css? (Code examples) full introduction, if you want to know more about CSS video tutorial, please pay attention to php Chinese website.
The above is the detailed content of How to remove strong tag and b tag in css? (code example). For more information, please follow other related articles on the PHP Chinese website!