Clarification | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Clarification

Waht does this line means please?? <link rel="stylesheet" href=https://fonts.googleapis.com/css> And which is correct 1. to write the attribute href first 2. To write the attribute rel first

29th Jul 2020, 4:47 PM
Amal Gil
Amal Gil - avatar
1 Answer
+ 3
amal 01 that line is used in the hyead tag of an html document and it links your html document to the Cascading stlye sheet with that link() it is advisable to add the type attribute with a value of text/css i.e <link rel="stylesheet" type="text/css" href="https//fonts.googleapis.com/css"> the order in which the attributes are written is not important, i guess **
29th Jul 2020, 5:00 PM
ME_GUY_COROVITA
ME_GUY_COROVITA - avatar