A and link | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

A and link

which is the exact difference from <link> and <a>

6th Nov 2016, 3:43 AM
Rodrigo Tallar
Rodrigo Tallar - avatar
2 Answers
+ 1
The <link> tag defines a link between a document and an external resource. ex: <link rel="stylesheet" type="text/css" href="my style.css"> The <a> tag defines a hyperlink, which is used to link from one page to another. ex: <a href="home.html" target="_blank">Click me</a>
6th Nov 2016, 4:03 AM
Rindho Aji
Rindho Aji - avatar
+ 1
Links are HTML elements that are created with the tag <link>. Anchors are HTML elements that are created with the tag <a>. Links are placed inside the <head> section of the document and they are not rendered. They usually describe a relationship between the current document and another document. Anchors are used inside the <body> of the document and they are used to create the well-known Hyperlinks, which allow the user to access resources, either within the same Web page or on other pages.
6th Nov 2016, 7:35 AM
Shady Alset
Shady Alset - avatar