CSS中font-weight属性的用法
font-weight属性用于增加或减少字体的粗体显示。font-weight属性提供了指定字体的粗体功能。可能的值可以是正常,粗体,粗体,较浅,100、200、300、400、500、600、700、800、900。
<html>
<head>
</head>
<body>
<p style = "font-weight:bold;">This font is bold.</p>
<p style = "font-weight:bolder;">This font is bolder.</p>
<p style = "font-weight:300;">This font is 500 weight.</p>
</body>
</html>