# 超链接

**超链接**（hyperlink）是[万维网](https://www.edgepedia.org/zh/world-wide-web)上两个资源之间的连接，在HTML中由`a`、`area`和`form`元素创建，并呈现给用户以供导航；`link`元素创建外部资源链接，这些链接在文档处理过程中被跟随。<sup>[1](https://html.spec.whatwg.org/multipage/links.html)</sup> 最简单地说，超链接是连接两个网页的结构单元，通过将包含目标页面URL的链接插入源页面来实现。<sup>[2](https://www-users.cse.umn.edu/~desi0016/publications/survey.pdf)</sup> 超文本的主要好处是非线性阅读，而超文本系统的表现力由其跟随链接的能力来定义。<sup>[3](https://eprints.soton.ac.uk/252753/)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 由`a`、`area`、`form`和`link`元素创建的两个资源之间的连接；超链接呈现给用户以供导航，外部资源链接在文档处理过程中被自动跟随<sup>[1](https://html.spec.whatwg.org/multipage/links.html)</sup> |
| 寻址 | 目标是URI；URL是URI的一个子集，描述了一种主要访问机制；URN旨在保持唯一和持久，即使资源消失<sup>[4](https://www.rfc-editor.org/rfc/rfc3986.html)</sup> |
| 传输 | HTTP是万维网的信息传输协议，使用URI作为其寻址机制；1991年的原始设计是在TCP/IP上使用单个ASCII `GET`命令<sup>[5](https://www.rfc-editor.org/rfc/rfc9110.html)</sup><sup> • </sup><sup>[6](https://web.stanford.edu/class/cs344g/www-1992.pdf)</sup> |
| 排名 | 如果一个页面的反向链接排名之和很高，PageRank就会给该页面很高的排名，通过迭代计算；Google于2005年1月18日宣布，`rel="nofollow"`链接在其排名中不会获得任何权重<sup>[2](https://www-users.cse.umn.edu/~desi0016/publications/survey.pdf)</sup><sup> • </sup><sup>[7](https://www.annehelmond.nl/wordpress/wp-content/uploads/2018/12/Helmond-2018-A-historiography-of-the-hyperlink.pdf)</sup> |
| 持久性 | 2013年至2023年间曾存在的网页中，有25%截至2023年10月已无法访问；2013年存在的页面中有38%到2023年已消失<sup>[8](https://www.pewresearch.org/data-labs/2024/05/17/when-online-content-disappears/)</sup> |
| 可访问性 | 链接文本应具有描述性，因为搜索引擎会索引它，屏幕阅读器会脱离上下文列出链接；建议最小交互区域为44×44 CSS像素<sup>[9](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Creating_links)</sup><sup> • </sup><sup>[10](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a)</sup> |

## 历史

这一谱系始于[万尼瓦尔·布什](https://www.edgepedia.org/zh/vannevar-bush)（Vannevar Bush），他于1945年在《大西洋月刊》上撰文介绍了[Memex](https://www.edgepedia.org/zh/memex)——一种用于扩展记忆的光电机械装置，能够在缩微胶片上的文档之间建立和跟随链接。<sup>[11](https://www.w3.org/History.html)</sup> 布什在1932年和1933年发展了这一基本思想，1939年起草了论文，而Memex从未被建造出来。<sup>[12](https://www.nngroup.com/articles/hypertext-history/)</sup><sup> • </sup><sup>[13](https://link.springer.com/chapter/10.1007/978-3-031-36033-6_4)</sup>

**尼尔森与超文本。** 1965年，[泰德·尼尔森](https://www.edgepedia.org/zh/ted-nelson)（Ted Nelson）在纽约举行的第20届美国计算机协会（ACM）全国会议上发表了《一种面向复杂、变化和不确定事物的文件结构》，并在其中创造了“超文本”一词；他在开始研究上都计划（Project Xanadu）时创造了配套术语“超媒体”。<sup>[11](https://www.w3.org/History.html)</sup><sup> • </sup><sup>[13](https://link.springer.com/chapter/10.1007/978-3-031-36033-6_4)</sup> “超链接”一词被归功于尼尔森，他在20世纪60年代从事上都计划；上都的核心是不可断裂的双向链接，实现了“跨引用”（transclusion），即通过引用重复使用被引用的材料。<sup>[7](https://www.annehelmond.nl/wordpress/wp-content/uploads/2018/12/Helmond-2018-A-historiography-of-the-hyperlink.pdf)</sup> 伯纳斯-李自己在1989年的提案中将“超文本”归功于尼尔森，将其定义为“以不受约束的方式链接在一起的人类可读信息”，不过该提案将这一术语的创造时间定在20世纪50年代；而ACM会议记录和W3C时间线都将其定在1965年。<sup>[14](https://www.w3.org/History/1989/proposal.html)</sup><sup> • </sup><sup>[11](https://www.w3.org/History.html)</sup>

早期的系统相继出现：1967年[布朗大学](https://www.edgepedia.org/zh/brown-university)（Brown University）的超文本编辑系统和FRESS，1968年恩格尔巴特（Engelbart）的NLS演示，以及Symbolics文档检查器、Guide和[HyperCard](https://www.edgepedia.org/zh/hypercard)等系统。<sup>[12](https://www.nngroup.com/articles/hypertext-history/)</sup><sup> • </sup><sup>[13](https://link.springer.com/chapter/10.1007/978-3-031-36033-6_4)</sup> 1989年3月，[蒂姆·伯纳斯-李](https://www.edgepedia.org/zh/tim-berners-lee)（Tim Berners-Lee）在欧洲核子研究中心（CERN）提出了一个“分布式超文本系统”，指出通用性和可移植性应比复杂的附加功能更重要；HTML本身并没有为SGML添加超文本，而是提供了一种捕获超文本链接的手段。<sup>[14](https://www.w3.org/History/1989/proposal.html)</sup><sup> • </sup><sup>[15](https://dl.acm.org/doi/pdf/10.1145/345966.346036)</sup> 1991年，欧洲核子研究中心的万维网成为第一个全球超文本系统；在美国国家超级计算应用中心（NCSA）于1993年1月发布之后，Mosaic迅速成为最受欢迎的网页浏览器。<sup>[12](https://www.nngroup.com/articles/hypertext-history/)</sup>

## 技术结构

**锚元素。** 在HTML中，带有`href`属性的`a`元素表示一个超链接，其标签由内容决定；没有`href`时，它就是一个占位符。其属性包括`href`、`target`、`download`、`ping`、`rel`、`hreflang`、`type`和`referrerpolicy`，当`href`缺失时，后七个属性必须省略。<sup>[16](https://html.spec.whatwg.org/multipage/text-level-semantics.html)</sup> 有了`href`，锚就可以创建指向网页、文件、电子邮件地址、同一页面中的位置，或URL能够寻址的任何其他内容的超链接。<sup>[10](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a)</sup>

**URL、URI、URN与href。** RFC 3986将URI分类为定位符、名称或两者兼有。“统一资源定位符”（URL）指的是URI的一个子集，除了标识资源之外，还通过描述其主要访问机制来提供定位资源的手段。“统一资源名称”（URN）指的是`urn`方案下的URI，要求即使在资源停止存在或变得不可用时，也保持全局唯一和持久。<sup>[4](https://www.rfc-editor.org/rfc/rfc3986.html)</sup> `href`属性是URI在链接中的所在之处；创造了URI、HTTP和HTML的伯纳斯-李认为URI是最根本的创新，因为超文本链接包含了目标URI。<sup>[7](https://www.annehelmond.nl/wordpress/wp-content/uploads/2018/12/Helmond-2018-A-historiography-of-the-hyperlink.pdf)</sup>

**从点击到页面加载。** HTTP是万维网的信息传输协议，使用URI作为其寻址机制。<sup>[5](https://www.rfc-editor.org/rfc/rfc9110.html)</sup> 在最初的设计中，HTTP运行在TCP/IP之上，每次搜索或检索操作使用一个连接，客户端发送一个简单的ASCII请求：命令`GET`和文档名称，然后收到一个用SGML标记的超文本文件，即HTML。<sup>[6](https://web.stanford.edu/class/cs344g/www-1992.pdf)</sup> 因此，跟随一个链接意味着解析`href`中的URI，打开与指定服务器的连接，并检索该地址上的资源。网络链接也延伸到HTML之外：RFC 8288定义了上下文URI和目标URI之间的一种标有关系类型的连接，可以通过`link`元素的`href`和`rel`属性或HTTP `Link`头字段来表达。<sup>[17](https://wg.org/specs/rfc8288.html)</sup>

## 类型、属性与相关机制

在超链接分析中，每个网页被建模为一个图节点，从页面A到页面B的链接创建一条有向边（A，B）。<sup>[18](http://facweb.cs.depaul.edu/mobasher/classes/csc575/papers/hyperlink.pdf)</sup>

`target`属性给出了跟随超链接时使用的可导航对象的名称。<sup>[1](https://html.spec.whatwg.org/multipage/links.html)</sup> `download`属性建议保存目标时使用的文件名，而`ping`使得用户代理在跟随链接时获取每个列出的URL，用于超链接审计。<sup>[16](https://html.spec.whatwg.org/multipage/text-level-semantics.html)</sup><sup> • </sup><sup>[1](https://html.spec.whatwg.org/multipage/links.html)</sup>

**链接与引用。** 与已发表研究论文中的引用不同，超链接缺乏固定的时间维度：已发表论文中的引用无法更改，而链接可以随时添加、更改或删除。<sup>[2](https://www-users.cse.umn.edu/~desi0016/publications/survey.pdf)</sup>

**应用深链。** 专有的深链方案，包括Facebook App Links、Google应用链接和Apple通用链接，在W3C开放网络标准之外创建了应用链接标准；深链不仅提供了一种应用原生的链接方式，还提供了一种应用原生的方式来追踪用户并为广告商收集信息。<sup>[7](https://www.annehelmond.nl/wordpress/wp-content/uploads/2018/12/Helmond-2018-A-historiography-of-the-hyperlink.pdf)</sup>

## 搜索引擎与链接经济学

PageRank由佩奇（Page）及其同事为Google开发，体现了这样一个理念：如果一个页面的反向链接排名之和很高，该页面就具有高排名，通过链接图进行迭代计算。<sup>[2](https://www-users.cse.umn.edu/~desi0016/publications/survey.pdf)</sup> 搜索引擎还使用链接文本（锚文本）来索引目标文件，因此链接文本中的描述性关键词可以提高可发现性。<sup>[9](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Creating_links)</sup>

**nofollow，2005年。** 2005年1月18日，Google宣布了`rel="nofollow"`属性，与Blogger和[WordPress](https://www.edgepedia.org/zh/wordpress)等博客软件制造商共同创建，以防止评论垃圾。Google在其公告中表示，带有该属性的链接不会在搜索排名中获得权重，从而将它们从原本计入每个被跟随链接的PageRank计算中移除。<sup>[7](https://www.annehelmond.nl/wordpress/wp-content/uploads/2018/12/Helmond-2018-A-historiography-of-the-hyperlink.pdf)</sup>

**锚文本垃圾检测。** 被操纵的锚文本引发了针对性的反制措施。美国专利8577893B1由安娜·帕特森（Anna Patterson）和保罗·哈尔（Paul Haahr）于2004年提交，描述了通过分析链接周围的上下文（每侧大约五个词）并将两个最稀有的IDF加权词哈希为上下文标识符来检测锚文本操纵。<sup>[19](https://eeat-mechanics.com/deep-dive/anchor-spam)</sup> 据报道，2024-2025年的一次Google API泄露揭示了实现这种检测的两个字段：`phraseAnchorSpamPenalty`（对过度优化锚文本的惩罚分数）和`IsAnchorBayesSpam`（一个贝叶斯分类器）；这来自一位专业SEO分析师的分析，应谨慎解读。<sup>[19](https://eeat-mechanics.com/deep-dive/anchor-spam)</sup> Google持续执行反垃圾政策：该公司提到了其基于AI的垃圾信息防范系统SpamBrain，并于2026年9月24日推出了一次反垃圾更新，大约两周内完成推送，不过该更新并未专门针对链接垃圾。<sup>[20](https://www.seroundtable.com/google-september-2026-spam-update-42163.html)</sup> 2026年4月，Google发布了一项针对后退按钮劫持的反垃圾政策，从2026年6月15日开始执行；违规页面可能因垃圾行为受到人工处置，或在搜索结果中被自动降级。<sup>[21](https://developers.google.cn/search/blog/2026/04/back-button-hijacking)</sup>

## 数字说话：链接失效与持久性

超链接会衰变。[皮尤研究中心](https://www.edgepedia.org/zh/pew-research-center)（Pew Research Center）发现，截至2023年10月，2013年至2023年间曾存在的所有网页中有四分之一已无法访问；16%被单独删除，9%因其根域名失效而消失。衰变与年龄密切相关：2013年存在的网页中有38%到2023年已不可用，而2023年存在的页面中这一比例为8%。<sup>[8](https://www.pewresearch.org/data-labs/2024/05/17/when-online-content-disappears/)</sup> 同一研究发现，23%的新闻网页和21%的政府网页至少包含一个失效链接，54%的[维基百科](https://www.edgepedia.org/zh/wikipedia)页面在其参考文献部分至少包含一个死链。<sup>[8](https://www.pewresearch.org/data-labs/2024/05/17/when-online-content-disappears/)</sup>

**新闻业中的深链腐烂得更快。** 在一项对《纽约时报》文章中2,283,445个外部超链接的研究中，72%是深链，其中25%的深链完全无法访问。链接失效随年龄增长而增加：2018年的链接中有6%已失效，而2008年的为43%，1998年的为72%；包含深链的文章中有53%至少有一个失效链接。<sup>[22](https://www.cjr.org/analysis/linkrot-content-drift-new-york-times.php)</sup>

**法律和学术引用失效。** 这一区分很重要：链接失效意味着URL不再提供任何内容，而引用失效范围更广，发生在链接仍然有效但被引用的信息已不存在或已改变时。<sup>[23](https://harvardlawreview.org/forum/vol-127/perma-scoping-and-addressing-the-problem-of-link-and-reference-rot-in-legal-citations/)</sup> 在所研究的法律期刊中，超过70%的URL以及美国最高法院判决意见中50%的URL遭受引用失效。<sup>[23](https://harvardlawreview.org/forum/vol-127/perma-scoping-and-addressing-the-problem-of-link-and-reference-rot-in-legal-citations/)</sup> 一项发表在PLOS ONE上的研究调查了350万篇科学、技术和医学文章（1997-2012年）中的超过一百万条网络参考文献，发现五分之一文章遭受引用失效，在包含网络参考文献的文章中这一比例上升到十分之七；该研究同样区分了链接失效（资源可能停止存在）和内容漂移（资源可能随时间变化）。<sup>[24](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0115253)</sup>

**链接层面的测量。** 数字因群体而异，分歧在于测量层面而非事实本身。Ahrefs的一项研究调查了自2013年1月以来指向2,062,173个网站样本的链接，发现66.5%已失效，另有6.45%显示临时错误，失效原因包括域名丢失（47.7%）、链接被移除（34.2%）、抓取错误（6.45%）、重定向（5.99%）和未找到响应（4.11%）。<sup>[25](https://ahrefs.com/blog/link-rot-study/)</sup> 2024年arXiv对88,000个主页的爬取发现，35.2%至少有一个失效链接，在6,325,915个外部链接中，16.63%已失效。<sup>[26](https://arxiv.org/pdf/2402.18301)</sup> 皮尤的25%是页面层面的存活数字，而Ahrefs的66.5%是链接层面针对样本网站入站链接的数字，因此这两个数字测量的是不同的东西。

## 可访问性、安全与隐私

**链接文本。** [屏幕阅读器](https://www.edgepedia.org/zh/screen-reader)用户受益于表意明确的链接文本，因为辅助软件提供了脱离上下文列出页面上所有链接的快捷方式，因此像“点击这里”这样的短语在该列表中没有携带任何信息。<sup>[9](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Creating_links)</sup> 建议链接的最小交互区域为44×44 CSS像素，以帮助有运动控制问题的用户。<sup>[10](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a)</sup> 锚也经常通过`href="#"`或`javascript:void(0)`被误用为假按钮，这损害了复制、拖动、书签和辅助技术。<sup>[10](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a)</sup>

**安全。** 使用`target="_blank"`而不使用`rel="noreferrer"`和`rel="noopener"`会使网站容易受到`window.opener` API利用的攻击，不过较新的浏览器隐式提供noopener保护。<sup>[10](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a)</sup>

**隐私与链接装饰。** 通过`ping`属性，页面可以在用户跟随链接时获取其列出的任何URL；HTML标准指出，较旧的机制，如HTTP重定向和[JavaScript](https://www.edgepedia.org/zh/javascript)，已经赋予网页监控哪些出站链接最常被跟随的能力，并让广告商测量点击率，因此该属性并没有增加任何新东西。<sup>[1](https://html.spec.whatwg.org/multipage/links.html)</sup> 基于重定向的装饰已经增长：Google开始为自然搜索结果链接推出`google.com/goto?url=[hash]`重定向URL，在结果页面和目标之间增加了一个服务器端重定向跳转。<sup>[27](https://searchengineland.com/google-confirms-deploying-goto-url-redirects-to-search-results-links)</sup>

## References

1. [HTML Standard — Links (WHATWG Living Standard)](https://html.spec.whatwg.org/multipage/links.html)
2. [Hyperlink Analysis: Techniques and Applications (survey)](https://www-users.cse.umn.edu/~desi0016/publications/survey.pdf)
3. [On the expressiveness of links in hypertext systems, University of Southampton](https://eprints.soton.ac.uk/252753/)
4. [RFC 3986: Uniform Resource Identifier (URI): Generic Syntax](https://www.rfc-editor.org/rfc/rfc3986.html)
5. [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html)
6. [World-Wide Web: The Information Universe (Berners-Lee et al., 1992)](https://web.stanford.edu/class/cs344g/www-1992.pdf)
7. [A historiography of the hyperlink (Helmond, 2018)](https://www.annehelmond.nl/wordpress/wp-content/uploads/2018/12/Helmond-2018-A-historiography-of-the-hyperlink.pdf)
8. [When Online Content Disappears (Pew Research Center, 2024)](https://www.pewresearch.org/data-labs/2024/05/17/when-online-content-disappears/)
9. [Creating links — MDN Learn web development](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Creating_links)
10. [<a>: HTML anchor element — MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a)
11. [A Little History of the World Wide Web (W3C)](https://www.w3.org/History.html)
12. [History of Hypertext (Nielsen Norman Group)](https://www.nngroup.com/articles/hypertext-history/)
13. [Hypertext, Hyperlinks, and the World Wide Web (Springer)](https://link.springer.com/chapter/10.1007/978-3-031-36033-6_4)
14. [The original proposal of the WWW, HTMLized (CERN archive)](https://www.w3.org/History/1989/proposal.html)
15. [Hypertext in the Web — a History (ACM)](https://dl.acm.org/doi/pdf/10.1145/345966.346036)
16. [HTML Standard — the a element (WHATWG Living Standard)](https://html.spec.whatwg.org/multipage/text-level-semantics.html)
17. [RFC 8288 — Web Linking](https://wg.org/specs/rfc8288.html)
18. [Hyperlink Analysis for the Web (DePaul)](http://facweb.cs.depaul.edu/mobasher/classes/csc575/papers/hyperlink.pdf)
19. [Anchor-Spam deep dive — E-E-A-T Trust in the Link Text](https://eeat-mechanics.com/deep-dive/anchor-spam)
20. [Google September 2026 Spam Update Is Rolling Out (Search Engine Roundtable)](https://www.seroundtable.com/google-september-2026-spam-update-42163.html)
21. [Introducing a new spam policy for 'back button hijacking' (Google Search Central Blog)](https://developers.google.cn/search/blog/2026/04/back-button-hijacking)
22. [What the ephemerality of the Web means for your hyperlinks (Columbia Journalism Review)](https://www.cjr.org/analysis/linkrot-content-drift-new-york-times.php)
23. [Perma: Scoping and Addressing the Problem of Link and Reference Rot in Legal Citations (Harvard Law Review)](https://harvardlawreview.org/forum/vol-127/perma-scoping-and-addressing-the-problem-of-link-and-reference-rot-in-legal-citations/)
24. [Scholarly Context Not Found: One in Five Articles Suffers from Reference Rot (PLOS ONE)](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0115253)
25. [At Least 66.5% of Links to Sites in the Last 9 Years Are Dead (Ahrefs)](https://ahrefs.com/blog/link-rot-study/)
26. [Link rot study of home pages (arXiv preprint, 2024)](https://arxiv.org/pdf/2402.18301)
27. [Google confirms deploying goto URL redirects to search results links (Search Engine Land)](https://searchengineland.com/google-confirms-deploying-goto-url-redirects-to-search-results-links)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › HTTP and web communication protocols

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/hyperlink

English original: https://www.edgepedia.org/hyperlink
