What's a difference between <a></a>tag and <link tag in html? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

What's a difference between <a></a>tag and <link tag in html?

1st Dec 2018, 1:54 PM
Vipin Gautam
Vipin Gautam - avatar
5 Réponses
+ 8
// The <a> tag is used to create a link (to go to the other website). // The <link> tag is used to make a link to CSS file.
1st Dec 2018, 2:18 PM
program
program - avatar
+ 5
An <a> tag is used only in the body section of a web page as a link to another web page A <link> tag is used only in the header section to link in othere resources ie stylesheet. CSS file
1st Dec 2018, 3:50 PM
George O Odhiambo
George O Odhiambo - avatar
+ 4
Dont get it wrong, link tag is not for generate website link in html. It's actually used for linking css file to html.
1st Dec 2018, 3:29 PM
Calvi’≤
Calvi’≤ - avatar
+ 1
Rstar Thanksūüėä
1st Dec 2018, 3:09 PM
Vipin Gautam
Vipin Gautam - avatar