In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "CSS how to remove b bold and strong bold tag style", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "CSS how to remove b bold and strong bold tag style" this article.
1. Use CSS style attribute words:
Font-weight
2. Grammar
Remove the object and make it bold: font-weight:normal
Bold text font: font-weight:bold
3. A case study of CSS removing htmlb and htmlstrong bold style
Remove the html bold tag case, if we need to remove the bold style of the b bold and strong bold tags in the "a" named div box (the difference between htmlb bold and strong bold).
1) remove the bold Css code:
B {font-weight:normal}
Strong {font-weight:normal}
2) remove the bold html code:
I'm in the b tag.
I'm in the strong tag.
I am in the bold tag b, but it is removed and bold by the CSS style
I am in the bold tag strong, but it is removed and bold by the CSS style
The effect is as follows:
4. Divcss remove html bold tag and bold style summary
Why to remove the html bold tag itself bold style, usually we layout to consider tag reuse, and sometimes also consider search engine optimization, the text font with bold tags (htmlb or htmlstrong bold), but do not need to bold style, this time we can use font-weight:normal to remove b and strong itself bold style, so that html with bold tags content text becomes normal (not bold). Sometimes we only need to add a bold tag to the html somewhere without bold content, as in the case above, we can add a superior css class in front of the css style selector to remove only the bold tag under the corresponding css class without bold style.
The above is all the content of the article "how CSS removes b-bold and strong-bold tag styles". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.