通過Link標簽在網頁頭部引用Google Web Font:
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900">
- 字體:Noto Sans SC
- 大小:100, 300, 400, 500, 700, 900
在需要使用思源黑體的地方設置CSS樣式:
font-family: "Noto Sans SC";
font-weight: 100;
TIP:Link標簽的rel屬性的全稱是relationship,表示引用內容與當前HTML的關系。
