Home  >  Article  >  Web Front-end  >  How to remove strong tag and b tag in css? (code example)

How to remove strong tag and b tag in css? (code example)

云罗郡主
云罗郡主Original
2018-10-20 13:50:513077browse

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.

How to remove strong tag and b tag in css? (code example)

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!

Statement:
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