<分区>
在写了几年 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 --
我可以对意思做出有根据的猜测,但我希望得到一些规范的东西。