What does “href” stand for? [duplicate]

橙三吉。 提交于 2019-12-18 17:10:35

问题


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 .


回答1:


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")




回答2:


Hypertext REFerence. You can see the link here for more about it -

http://www.pcmag.com/encyclopedia/term/44472/href




回答3:


Hypertext Reference, From a day where links used to be called "hyperlinks" hypertext is simply link to another big of information, and hypertext reference is the link itself:

http://en.wikipedia.org/wiki/Hypertext




回答4:


Its stand for Hypertext Reference .

The href attribute specifies the URL of the page the link goes to.

If the href attribute is not present, the tag is not a hyperlink.




回答5:


href stands for Hypertext REFerence. It is the attribute of the html which gives the URL of the page the link goes to ....

Further information can be obtained from

http://www.w3.org/MarkUp/draft-ietf-iiir-html-01.txt - By Tim Berners Lee http://www.w3schools.com/tags/att_a_href.asp
http://tomayko.com/writings/wtf-is-an-href-anyway



来源:https://stackoverflow.com/questions/20172280/what-does-href-stand-for

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!