<link href="https://fonts.googleapis.com/css?family=Handlee" rel="stylesheet"> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

<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
Adil
2 Answers
+ 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
Cmurio - avatar
0
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
Farhan - avatar