HTML全局自定义字体

1
2
3
4
5
6
7
8
9
10
<style>
@font-face {
font-family: 测试字体;
src: url("jan.otf");
}

body {
font-family: 测试字体;
}
</style>