字体加粗方式:
font-weight: bold;
或者通过值来加粗:
font-weight:800;
html中对字体加粗的其他方式:
<b></b>或<strong></strong>
css中id和class的区别:
class以"."开始,id以“#”开头
使用方式:
.css_class{属性:属性值;} #在html页面里则以class="css_class" 来选择调用
#css_id{属性:属性值;} #在html页面里则以id="css_id" 来选择调用
备注:
id要保证唯一性