html - "href"代表什么?

标签 html w3c web-standards

<分区>

在写了几年 html 之后,我意识到我真的不知道为什么 href 属性被命名为 "href"

HTML Recomendation没有通过说来阐明这个主题:

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.

还有 HTML 4.01 DTD没有提供很多线索。

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

我可以对意思做出有根据的猜测,但我希望得到一些规范的东西。

最佳答案

超文本引用

来自source由 Tim Berners-Lee 亲自撰写。:

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

关于html - "href"代表什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20172280/

相关文章:

php - 使用 BBCodes...解析 HTML 还是完全删除它? (XSS/PHP)

javascript - 跨域 iframe 可以检测浏览器的实际视口(viewport)尺寸吗?

jquery - list-style-type CSS 属性的文本值,怎么样?

audio - Web Audio Api JavaScriptAudioNode 和 channel 数

html - 对 <head> 中的元素进行排序的最佳做法是什么?

html - 遵循网络标准有多重要?

javascript - 为什么 Web Workers 中有同步 FileSystem 支持,但没有同步 WebSocket 支持?

html - 将文本放置在向左浮动的图像下方

html - "address"HTML 标签还在使用吗?

android - 所有 W3C 规范和不同浏览器的实现的困惑