What does means href in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does means href in html?

15th Jul 2017, 10:36 PM
Keerthivasan Gnanaudayan
Keerthivasan Gnanaudayan - avatar
3 Answers
+ 6
in HTML, href means hyperlink reference. href is used for redirect any word or image to link any other website or page. Is this correct??? I am beginner so don't mistake me....
15th Jul 2017, 10:36 PM
Keerthivasan Gnanaudayan
Keerthivasan Gnanaudayan - avatar
+ 14
Yes, it is correct. ;) ** Hypertext Reference as @visph said, my bad. **
15th Jul 2017, 10:43 PM
Maz
Maz - avatar
+ 5
<< href (Hypertext Reference) attribute specifies the location of a Web resource thus defining a link or relationship between the current element (in case of anchor a) or current document (in case oflink) and the destination anchor or resource defined by this attribute. >> ... from this very interesting thread about differences between 'href' and 'src' on stackoverflow: https://stackoverflow.com/questions/3395359/difference-between-src-and-href/21549827#21549827
15th Jul 2017, 11:43 PM
visph
visph - avatar