Google fonts | Sololearn: Learn to code for FREE!


Google fonts

How to use Google fonts API?


4/1/2019 5:49:35 AM


3 Answers

New Answer


- go to - select a font -click select this style - copy this: <link href="<FONT_FAMILY>:[email protected]<FONT_WEIGHT_IN_PIXELS>&display=swap" rel="stylesheet"> -insert that in the head element of your html -copy this: font-family: '<FONT_FAMILY>',<ALTERNATIVE_FONTS; -insert it as a css rule to any element Now enjoy your font