What is the difference between <a> and <link> elements? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 9

What is the difference between <a> and <link> elements?

I am beginner, and so I need detailed information about HTML.

7th Sep 2020, 5:39 PM
‚Ź© Ramaz Vainakh Borchashvili ‚Ź™
‚Ź© Ramaz Vainakh Borchashvili ‚Ź™ - avatar
2 Réponses
+ 9
I understood, thank you!
7th Sep 2020, 5:51 PM
‚Ź© Ramaz Vainakh Borchashvili ‚Ź™
‚Ź© Ramaz Vainakh Borchashvili ‚Ź™ - avatar
+ 6
The <link> element appears in the <head> of a HTML document, and could have all the same attributes. The difference between a <link> and <a> is that a <a> may contain text and usually appears in a document, whereas the <link> element doesn't have content. sometimes it is good to google
7th Sep 2020, 5:47 PM
(‚Ćź‚Ė†-‚Ė†)
(‚Ćź‚Ė†-‚Ė†) - avatar