css加粗屬性是什么,好像以前的b標簽取消了,為了規(guī)范化,整在css里了
13 回答
已采納

慕萊塢9220042
TA貢獻377條經(jīng)驗 獲得超508個贊
你好:
CSS font-weight 屬性
例子:
<html> <head> <style?type="text/css"> p.normal?{font-weight:?normal} p.thick?{font-weight:?bold} p.thicker?{font-weight:?900} </style> </head> <body> <p?class="normal">This?is?a?paragraph</p> <p?class="thick">This?is?a?paragraph</p> <p?class="thicker">This?is?a?paragraph</p> </body> </html>
望采納!

剛毅87
TA貢獻345條經(jīng)驗 獲得超309個贊
strong 標簽和 css 樣式 font-weight 都可以設(shè)置,font-weight有兩個屬性 bold 和 bolder, 還可以通過設(shè)置數(shù)值來改變粗細程度.
望采納
添加回答
舉報
0/150
提交
取消