<!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>
このアルジェリアフォントは、Windowsに組み込まれており、上記のコードで動作します。このコードは、ダウンロードしてインストールするフォントでは機能しませんが、以下のように。これはなぜですか?外字フォントがないうちにinbuiltフォントが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>
' をリンクする必要があり、したがって最初のGoogle APIのフォントが廃止されている。https://html.spec.whatwg.org/multipage/obsolete.html#non -conforming-features – Rob
そのフォントは存在しないためです。待つ。あなたは今年何歳ですか? ''タグの有効期限が切れました! –
彼らはどこですか? –