<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<font size='50' face="algerian"> Inbuilt font face </font>
<p style="font-family: algerian; font-size: 40px; color: green;" > Inbuilt font face </p>
</body>
</html>
这个阿尔及利亚的字体,它是内置在窗口中的上述代码。虽然此代码不适用于我下载和安装的任何字体。就像下面的一样。为什么会这样?为什么内置字体在HTML内工作,而外部字体不能?
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<font size='50' face="Spirax"> Externally installed font face </font>
<p style="font-family: Spirax; font-size: 40px; color: green;" > Externally installed font face </p>
</body>
</html>
''过时:https://html.spec.whatwg.org/multipage/obsolete.html#non -conforming-features – Rob
因为那些字体不在那里。等待。你是哪一年? ''标签过期久了! –
他们在哪里,不在吗? –