CSS font link | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

CSS font link

How do you get a font link to use in an html head tag?

8th Nov 2021, 9:52 PM
Jeff
Jeff - avatar
4 Answers
+ 2
This is one site what have fonts, you can copy code for linking or download https://fonts.google.com/
8th Nov 2021, 11:08 PM
PanicS
PanicS - avatar
+ 2
An example of it See in the code:- https://code.sololearn.com/WUYH3g9vmT79/?ref=app
9th Nov 2021, 12:58 AM
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika)
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika) - avatar
+ 1
You can also use the @font-face rule and include the font file in your site so you dont have to rely on 3rd party servers. https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
9th Nov 2021, 2:42 AM
Moshe Schnitzler
Moshe Schnitzler - avatar
- 1
Hi
10th Nov 2021, 6:09 PM
Mamadou Aliou Labé Diallo
Mamadou Aliou Labé Diallo - avatar