Actually, I have downloaded a font in my PC and now i want to use that font in my site online. Is it possible to do so, if yes then how?
Asked
Active
Viewed 31 times
2 Answers
0
Make sure you put the font file (.ttf) in a folder and reference it in the src:url and path it correctly
@font-face {
font-family: fontName;
src: url(font/fontName.ttf);
}
body {
font-family: fontName;
}
![](../../users/profiles/7977235.webp)
cphelps987
- 21
- 2
0
I've answered that before here: https://stackoverflow.com/a/44611769/3362989
Please check about font license, you cannot use every font you have on your PC for web.
![](../../users/profiles/3362989.webp)
DanielaB67
- 460
- 7
- 14