html引入思源黑体

通过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的关系。
 

发布了27 篇原创文章 · 获赞 9 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/sofeware333/article/details/102709970