Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "href" stand for? [duplicate]

After writing html for couple of years I realized that I don't really know why the href attribute is named "href" .

The HTML Recomendation does not shed light on the subject by saying :

This attribute specifies the location of a Web resource, thus defining a link between the current element (the source anchor) and the destination anchor defined by this attribute.

Also the HTML 4.01 DTD does not provide a lot of clue .

href %URI; #IMPLIED -- URI for linked resource --

I could make an educated guess for the meaning , but i was hoping for something canonical .

like image 900
Alexander Avatar asked Nov 28 '22 07:11

Alexander


1 Answers

It stands for Hypertext Reference

From the source written by Tim Berners-Lee himself.:

"Help" is all that is displayed, with some indication that it is an option. If the user choses (clicks a mouse on, choses by number depending on which client he has) then the client asks the server for /HEPDATA/HELP. ("A" is for "anchor", "HREF" is for "hypertext reference")

like image 166
Rahul Tripathi Avatar answered Dec 11 '22 01:12

Rahul Tripathi