什么是“href”代表? [英] What does "href" stand for?
问题描述
href
属性被命名为href。 HTML Recomendation 并没有说明这个问题:
这个属性指定了Web资源的位置,因此定义当前元素(源锚点)和由该属性定义的目标锚点之间的链接。
此外, HTML 4.01 DTD 并没有提供很多线索。
href%URI; #IMPLIED - 链接资源的URI -
我可以对意义进行有根据的猜测,但我希望得到一些规范。
它代表超文本参考
源由Tim Berners-Lee亲自撰写。:
帮助就是显示的全部内容,有些表示它是
选项。如果用户选择(点击一个鼠标,根据他拥有的客户端选择
编号),然后客户端请求服务器
/ HEPDATA / HELP。 (A表示锚点,HREF表示超文本
引用)
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 .
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")
这篇关于什么是“href”代表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!