+ 2
Fonts in HTML
How we can add fonts which are not web fonts while user can see the font even they don't have it?
11 Antworten
+ 1
But think I want to use another font which the user "doesn't" have it. Specifically this font won't be shown to user. How can I fix this problem?
+ 5
The CSS font-family Property
font-family: "Times New Roman", Times, serif;
*The font-family property should hold several font names as a "fallback" system, to ensure maximum compatibility between browsers/operating systems.
https://www.w3schools.com/Css/css_font.asp
You can also use the @font-face rule
https://css-tricks.com/snippets/css/using-font-face-in-css/
+ 1
You can use google fonts, there is a lot of fonts and it will be shown to user. Or use @font-face
+ 1
As of June 2023, Google Fonts had 1,527 font families, including 318 variable font families. There are 1052 different Google Font families available for free
0
I know about font family
0
🫤
0
Believe it that google don't have many fonts
0
What font are you attempting to use?
0
You stated that you know about font family but you didn't mention @font-face. Did you read about How to use @font-face?
0
...
0
Thanks for answers👍