当时我在思考, 为什么这个字体无法显示出来呢? 我突然想到, 会不会是因为字体名称是数字开头----这太特殊了, 我的电脑上只有851做的字体是这种名称.
现在我写了这么一个html文件:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>font problem A</title>
</head>
<body>
The quick brown fox jumps over the lazy dog. (My Browser Default) <br/> <br/>
<font color="green">
以下字体可以正常显示: <br/>
</font>
<font face="Harmony OS Sans SC">
The quick brown fox jumps over the lazy dog. (Harmony OS Sans SC) <br/>
</font>
<font face="Source Han Serif SC">
The quick brown fox jumps over the lazy dog. (Source Han Serif SC) <br/>
</font>
<font face="DengXian">
The quick brown fox jumps over the lazy dog. (DengXian) <br/>
</font>
<font face="K Gothic">
The quick brown fox jumps over the lazy dog. (K Gothic) <br/>
</font>
<font face="Ink Free">
The quick brown fox jumps over the lazy dog. (Ink Free) <br/> <br/>
</font>
<font color="red">
以下字体不可以正常显示: <br/>
</font>
<font face="851tegakizatsu">
The quick brown fox jumps over the lazy dog. (851tegakizatsu) <br/>
</font>
<font face="851MkPOP">
The quick brown fox jumps over the lazy dog. (851MkPOP) <br/>
</font>
</body>
</html>
显示效果是:
