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