+ 1
FONTS
Im new at html and i have this question that makes my head hurt. i want to upload my site someday on the web ( .com) i have an installed font on my computer "manhattan darling" what should i put in p { font-family: } Thank you so much. im a noob sorry
2 Answers
+ 7
You'll have to first load the font using the @font-face by giving the source to the font file.
Example -
@font-face{
font-family: ManDar; //name
src: url("link of font here");
}
//Now we have the font named ManDar
p { font-family: ManDar;}
//Done :)
More about the @font-face rule here -
https://www.sololearn.com/learn/CSS/2264/
+ 6
You have to put the Fonts in the same folder or you have to give the full directory to the font file...Yea just like images