+ 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?

5th Jul 2023, 8:00 PM
š’¦ ā„›
š’¦ ā„› - avatar
11 Answers
+ 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?
6th Jul 2023, 9:29 AM
š’¦ ā„›
š’¦ ā„› - avatar
+ 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/
5th Jul 2023, 8:12 PM
Chris Coder
Chris Coder - avatar
+ 1
You can use google fonts, there is a lot of fonts and it will be shown to user. Or use @font-face
6th Jul 2023, 1:05 PM
ATLASšŸ‡ŗšŸ‡¦
ATLASšŸ‡ŗšŸ‡¦ - avatar
+ 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
6th Jul 2023, 10:23 PM
Chris Coder
Chris Coder - avatar
0
I know about font family
6th Jul 2023, 9:27 AM
š’¦ ā„›
š’¦ ā„› - avatar
0
šŸ«¤
6th Jul 2023, 9:57 PM
š’¦ ā„›
š’¦ ā„› - avatar
0
Believe it that google don't have many fonts
6th Jul 2023, 9:57 PM
š’¦ ā„›
š’¦ ā„› - avatar
0
What font are you attempting to use?
6th Jul 2023, 10:23 PM
Chris Coder
Chris Coder - avatar
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?
6th Jul 2023, 10:27 PM
Chris Coder
Chris Coder - avatar
0
...
7th Jul 2023, 8:11 AM
š’¦ ā„›
š’¦ ā„› - avatar
0
Thanks for answersšŸ‘
7th Jul 2023, 8:40 AM
š’¦ ā„›
š’¦ ā„› - avatar