what is difference between <a> hyper link and <link>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is difference between <a> hyper link and <link>?

12th Nov 2017, 6:51 PM
Anshul Kumar Vishwakarma
Anshul Kumar Vishwakarma - avatar
2 Answers
+ 2
<link> for linking to another resources or outer resources like stylesheet files or scripting files or define the relation of your document with other docs. <a> to making a hyperlinks in you document usig images or text or anything
12th Nov 2017, 10:24 PM
Mukhtaar Aziz
Mukhtaar Aziz - avatar
+ 1
link used in the head tag for linking relevant files with your html DOM whereas a anchor tag is used to create a hyper link on text images etc,
12th Nov 2017, 7:01 PM
Morpheus
Morpheus - avatar