<link href="https://fonts.googleapis.com/css?family=Handlee" rel="stylesheet"> | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite

<link href="https://fonts.googleapis.com/css?family=Handlee" rel="stylesheet">

In html wht means this, why it is used

27th Mar 2020, 6:01 PM
2 Réponses
+ 4
The <link> tag defines a link between a document and an external resource. The <link> tag is used to link to external style sheets.
27th Mar 2020, 6:29 PM
Cmurio - avatar
This is the cdn of Google Fonts API, it import specific fonts by Google, like in your question, it imports Handlee font The way to use it Just need to add this inside the head tag <link href="https://fonts.googleapis.com/css?family=(font name)" rel="stylesheet"> And write the name of the font in css file in font-family property font-family:"font name" All Google font https://fonts.google.com/ Example https://code.sololearn.com/WjBK25HqXKXo/?ref=app
27th Mar 2020, 6:27 PM
Farhan - avatar