font-weight 用來設定字體粗細。常見值有 normal、bold、lighter、bolder,也可使用 100 到 900 的數值。數值越大通常代表越粗。
在中文網頁中,多數情況使用 normal 與 bold 即可。數值型粗細在不同字體中的呈現可能不一致,因此入門階段不建議過度依賴。