Is there any alternate way to download all the Google fonts using a single Link tag instead of using separate link tags ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there any alternate way to download all the Google fonts using a single Link tag instead of using separate link tags ?

https://code.sololearn.com/W162IIRPj4b1/?ref=app

3rd Sep 2017, 12:51 PM
Jayachandran P
Jayachandran P - avatar
3 Answers
+ 6
<link href="https://fonts.googleapis.com/css?family=Lobster|Indie+Flower|Josefin+Sans|Ubuntu|Baloo+Tammudu|Abel" rel="stylesheet" type="text/css">
3rd Sep 2017, 12:59 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 5
You can't include "all" Google Fonts in one <link> but you can include "multiple" Google Fonts in one <link> .... Example :- <link href="https://fonts.googleapis.com/css?family=Gloria+Hallelujah|Indie+Flower|Pacifico|Roboto" rel="stylesheet"> ^_^ → https://www.techvigil.com/tips-tricks/300/embedding-multiple-google-web-fonts/
3rd Sep 2017, 1:01 PM
Ekansh
+ 2
Tq friends both of you provided me correct solution. Now that makes my code efficient. Peace✌
3rd Sep 2017, 1:15 PM
Jayachandran P
Jayachandran P - avatar