+ 4

What is difference between link and href ?

Difference between link and href.

6th Apr 2019, 7:17 AM
Eknoor Singh
Eknoor Singh - avatar
2 Respostas
+ 6
Link tag defines the link of the page which is to be linked in your webpage like link of style sheet, fonts e.t.c. On the other hand, href is the attribute of anchor tag which let us define the url of the page which we want to link with some text or image.
6th Apr 2019, 8:05 AM
Arushi Singhania
Arushi Singhania - avatar
0
i kinda understand the diffefence betwen a and href but i dont understand the difference between rel and href? ive seen the link tag with either the href or the rel attribute.. what is the use of each of them ?
1st May 2019, 10:03 AM
Sepo
Sepo - avatar