HTML中字体的设置

HTML中的字体设置是使用

<!DOCTYPE html>
<html lang="zh">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title></title><style type="text/css">.a {font-family: "microsoft sans serif";}.b{font-family: "microsoft yahei";}.c{font-family: "SimSun";}.d{font-family: "SimHei";}.e{font-family: "\5FAE\8F6F\96C5\9ED1";}</style>
</head>
<body><h1 class="a">你好啊</h1><h1 class="b">你好啊</h1><h1 class="c">你好啊</h1><h1 class="d">你好啊</h1><h1 class="e">你好啊</h1>
</body>
</html>

最后在页面上显示的

本文链接:https://my.lmcjl.com/post/2911.html

展开阅读全文

4 评论

留下您的评论.