+ 3
A and link
which is the exact difference from <link> and <a>
2 ответов
+ 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>
+ 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.