Anyone explain difference between <link> <a> in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 29

Anyone explain difference between <link> <a> in html

22nd Jun 2018, 8:19 AM
Learner
29 Answers
- 2
Basically the <link>&<a>tag is similar to each other but the link tag can't creat a clickble link which we will expect. But a tag creat a clickble link..
24th Jun 2018, 6:50 AM
Ashish Kumar Sahoo
Ashish Kumar Sahoo - avatar
+ 56
a tag is used to make hyperlinks to other pages while the link tag is used to attach external style sheets to your html document.
22nd Jun 2018, 8:22 AM
World Champion
World Champion - avatar
+ 25
My pleasure
22nd Jun 2018, 8:27 AM
World Champion
World Champion - avatar
+ 17
<link> is used to attach Style sheet to HTML code , and use between head tags . for example <html> <head> <link> </head> </html> but <a> is used to attach a link of website , and use between body like that : <html> <body> <a> </a> </body> </html>
23rd Jun 2018, 2:28 AM
Bahaa El-Din Youssif Higazy
Bahaa El-Din Youssif Higazy - avatar
+ 15
Thanks to White Hat now I understand clearly
22nd Jun 2018, 8:26 AM
Learner
+ 13
link tag is used to attach external stylesheets to d html document however a tag is used to create hyperlink to other pages!
23rd Jun 2018, 3:25 AM
Sia
Sia - avatar
+ 8
<a is used to provide the link to go to another site... < link is used to provide link to travell within thw web page
23rd Jun 2018, 4:50 AM
Deepanshu Bansal
Deepanshu Bansal - avatar
+ 7
The <a> tag defines a hyperlink to another web page, while the <link> tag imports an external CSS file.
22nd Jun 2018, 10:59 PM
Rowsej
Rowsej - avatar
24th Jun 2018, 3:06 AM
Learner
24th Jun 2018, 11:13 AM
Learner
+ 6
link is a tag whereas a is the address Linking attribute
22nd Jun 2018, 6:51 PM
Archana
Archana - avatar
+ 6
Thank you Tolu Adesina
24th Jun 2018, 3:06 AM
Learner
24th Jun 2018, 11:15 AM
Learner
+ 5
What kind of help you need Jester Mira
23rd Jun 2018, 2:05 PM
Learner
+ 4
<a> tag (stands for anchor) is used to make hyperlinks to other pages while the <link> tag (stands for link) is used to attach external style sheets to your html document/webpage.
23rd Jun 2018, 2:30 AM
Fellow Coder
+ 4
link is used to import external css from the destinated url of the css. while a is used to link to other site pages.
23rd Jun 2018, 9:22 AM
Macauley Daniel Emete
Macauley Daniel Emete - avatar
+ 4
hey, everyone's can help me ?
23rd Jun 2018, 10:31 AM
Jester Mira
Jester Mira - avatar
+ 4
about the C++ , Im freshmen ict student
23rd Jun 2018, 10:37 AM
Jester Mira
Jester Mira - avatar
+ 4
<link> is used to attach Style sheet to HTML code , and use between head tags . For example <html> <head> <link> </head> </html> but <a> is used to attach a link of website , and use between body like that : <html> <body> <a> </a> </body> </html> This Is The Major Difference.
23rd Jun 2018, 6:41 PM
Madhusudan Saini
Madhusudan Saini - avatar
+ 4
<link> is used to attach style sheet to html code whiles <a>I used to attach a link of a website
31st Mar 2019, 2:49 PM
Danyo Joe Crews Kumi Junior
Danyo Joe Crews Kumi Junior - avatar