Skip to content
Surf Wiki
Save to docs
general/graphical-control-elements

From Surf Wiki (app.surf) — the open knowledge base

Hyperlink

Method of referencing visual computer data


Method of referencing visual computer data

Visual abstraction of several documents being connected by hyperlinks

In computing, a hyperlink, or simply a link, is a digital reference providing direct access to data by a user's clicking or tapping. A hyperlink points to a whole document or to a specific element within a document. Hypertext is text with hyperlinks. The text that is linked from is known as anchor text. A software system that is used for viewing and creating hypertext is a hypertext system, and to create a hyperlink is to hyperlink (or simply to link). A user following hyperlinks is said to navigate or browse the hypertext.

The document containing a hyperlink is known as its source document. For example, in content from Wikipedia or Google Search, many words and terms in the text are hyperlinked to definitions of those terms. Hyperlinks are often used to implement reference mechanisms such as tables of contents, footnotes, bibliographies, indexes, and glossaries.

In some hypertext, hyperlinks can be bidirectional: they can be followed in two directions, so both ends act as anchors and as targets. More complex arrangements exist, such as many-to-many links.

The effect of following a hyperlink may vary with the hypertext system and may sometimes depend on the link itself; for instance, on the World Wide Web most hyperlinks cause the target document to replace the document being displayed, but some are marked to cause the target document to open in a new window (or, perhaps, in a new tab). Another possibility is transclusion, for which the link target is a document fragment that replaces the link anchor within the source document. Not only persons browsing the document may follow hyperlinks. These hyperlinks may also be followed automatically by programs. A program that traverses the hypertext, following each hyperlink and gathering all the retrieved documents is known as a Web spider or crawler.

Uses in various technologies

HTML

Main article: HTML element#Anchor

Tim Berners-Lee saw the possibility of using hyperlinks to link any information to any other information over the Internet. Hyperlinks were therefore integral to the creation of the World Wide Web. Web pages are written in the hypertext mark-up language HTML.

This is what a hyperlink to the home page of the W3C organization could look like in HTML code:

<a href="https://www.w3.org/">W3C organization website</a>

This HTML code consists of several tags:

  • The hyperlink starts with an anchor opening tag href="https://www.w3.org/" to the URL for the page. (The URL is enclosed in quotes.)
  • The URL is followed by ``, marking the end of the anchor opening tag.
  • The words that follow identify what is being linked; this is the only part of the code that is ordinarily visible on the screen when the page is rendered, but when the cursor hovers over the link, many browsers display the target URL somewhere on the screen, such as in the lower left-hand corner.
  • Typically these words are underlined and colored (for example, blue for a link that has not yet been visited and purple for a link already visited).
  • The anchor closing tag (``) terminates the hyperlink code.
  • The `` tag can also consist of various attributes such as the "rel" attribute which specifies the relationship between the current document and linked document.

Webgraph is a graph, formed from web pages as vertices and hyperlinks, as directed edges.

The W3C recommendation called XLink describes hyperlinks that offer a far greater degree of functionality than those offered in HTML. These extended links can be multidirectional, remove linking from, within, and between XML documents. It can also describe simple links, which are unidirectional and therefore offer no more functionality than hyperlinks in HTML.

Main article: Digital preservation

Permalinks are URLs that are intended to remain unchanged for many years into the future, yielding hyperlinks that are less susceptible to link rot. Permalinks are often rendered simply, that is, as friendly URLs, so as to be easy for people to type and remember. Permalinks are used in order to point and redirect readers to the same Web page, blog post or any online digital media.

The scientific literature is a place where link persistence is crucial to the public knowledge. A 2013 study in BMC Bioinformatics analyzed 15,000 links in abstracts from Thomson Reuters' Web of Science citation index, founding that the median lifespan of Web pages was 9.3 years, and just 62% were archived. The median lifespan of a Web page constitutes high-degree variable, but its order of magnitude usually is of some months.

Internet shortcut (.url){{Anchor|URL|Internet Shortcut}} file

An Internet shortcut file, also known as the URL file format, has the file extension (possibly hidden by default in the graphical user interface), and is the file format in Windows systems used for hyperlinks to the Internet.

Internet shortcuts are text files, but their internal structure is similar to that of an INI file. Opening them in the graphical file browser of Windows or macOS (but not Linux) will open the link in the default web browser. Internet shortcut files can be easily made by hand, as the minimum features needed to operate as a hyperlink are simply the [InternetShortcut] header and the URL= key-value pair. Other key-value pairs are irregularly supported across operating systems. An example of a valid Windows Internet Shortcut with some specialized key-value pairs is shown below:

[InternetShortcut]
URL=https://www.wikipedia.org/
WorkingDirectory=C:\WINDOWS
ShowCommand=7
IconIndex=1
IconFile=C:\WINDOWS\SYSTEM\url.dll
Modified=20F06BA06D07BD014D
HotKey=1601

macOS .webloc file{{Anchor|WEBLOC}}

On macOS systems, the specialized file format for file based hyperlinks is the file. It uses XML Property list syntax:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>URL</key>
	<string>https://www.wikipedia.org/</string>
</dict>
</plist>

Linux Freedesktop.org .desktop file

A file based hyperlink under Unix/Linux with a desktop environment is stored in a file. It is only supported under Linux. It is a text file with a syntax highly similar to the Windows URL file described above. An example of a valid Freedesktop.org .desktop file is shown below:

[Desktop Entry]
Encoding=UTF-8
Type=Link
Name=Wikipedia
URL=https://www.wikipedia.org/

link.html file {{Anchor|link.html}}

A Windows, macOS, and Linux cross-platform file based hyperlink can be implemented with an unofficial style file:

<!DOCTYPE html><html lang="en">
<!--
Example of a link.html file: i.e. a file based hyperlink that works cross-platform on Windows, macOS, and Linux. 
-->
<head>
  <meta http-equiv="refresh" content="0; url=https://www.wikipedia.org" />
  <title>Redirecting to https://www.wikipedia.org ...</title>
</head>
<body>
  Loading <a href="https://www.wikipedia.org">https://www.wikipedia.org</a> ...
</body>
</html>

History

The term "link" was coined in 1965 (or possibly 1964) by Ted Nelson at the start of Project Xanadu. Nelson had been inspired by "As We May Think", a popular 1945 essay by Vannevar Bush. In the essay, Bush described a microfilm-based machine (the Memex) in which one could link any two pages of information into a "trail" of related information, and then scroll back and forth among pages in a trail as if they were on a single microfilm reel.

In a series of books and articles published from 1964 through 1980, Nelson transposed Bush's concept of automated cross-referencing into the computer context, made it applicable to specific text strings rather than whole pages, generalized it from a local desk-sized machine to a theoretical proprietary worldwide computer network, and advocated the creation of such a network. Though Nelson's Xanadu Corporation was eventually funded by Autodesk in the 1980s, it never created this proprietary public-access network. Meanwhile, working independently, a team led by Douglas Engelbart (with Jeff Rulifson as chief programmer) was the first to implement the hyperlink concept for scrolling within a single document (1966), and soon after for connecting between paragraphs within separate documents (1968), with NLS. Ben Shneiderman working with graduate student Dan Ostroff designed and implemented the highlighted link in the HyperTIES system in 1983. HyperTIES was used to produce the world's first electronic journal, the July 1988 Communications of the ACM, which was cited as the source for the link concept in Tim Berners-Lee's Spring 1989 manifesto for the Web. In 1988, Ben Shneiderman and Greg Kearsley used HyperTIES to publish "Hypertext Hands-On!", the world's first electronic book.

Released in 1987 for the Apple Macintosh, the database program HyperCard allowed for hyperlinking between various pages within a document, as well as to other documents and separate applications on the same computer. In 1990, Windows Help, which was introduced with Microsoft Windows 3.0, had widespread use of hyperlinks to link different pages in a single help file together; in addition, it had a visually different kind of hyperlink that caused a popup help message to appear when clicked, usually to give definitions of terms introduced on the help page. The first widely used open protocol that included hyperlinks from any Internet site to any other Internet site was the Gopher protocol from 1991. It was soon eclipsed by HTML after the 1993 release of the Mosaic browser (which could handle Gopher links as well as HTML links). HTML's advantage was the ability to mix graphics, text, and hyperlinks, unlike Gopher, which just had menu-structured text and hyperlinks.

References

References

  1. (2025-03-13). "hyperlink".
  2. (Dec 31, 2020). "Tabbed browsing".
  3. (1996-05-15). "Multimedia, Hypermedia, and Virtual Reality: Models, Systems, and Application: First International Conference, MHVR'94, Moscow, Russia September (14–16), 1996. Selected Papers". Springer Science & Business Media.
  4. "The Anchor element – HTML: HyperText Markup Language".
  5. "XML Linking Language (XLink) Version 1.0".
  6. "HTML, Web Browsers, and Other Paraphernalia".
  7. "Definition of Permanent Link (Permalink)".
  8. W. Kille, Leighton. (2015-10-09). "The growing problem of Internet 'link rot' and best practices for media and online publishers".
  9. (November 8, 2011). "The Average Lifespan of a Webpage".
  10. Craig-Wood, Nick. (2014-03-16). "Google drive".
  11. Edward L. Blake. "An Unofficial Guide to the URL File Format".
  12. Preston Brown. (2020-04-27). "Desktop Entry Specification". specifications.freedesktop.org.
  13. Tim Berners-Lee. "Making a Server ("HREF" is for "hypertext reference")". W3C.
  14. See [[Copyright aspects of hyperlinking and framing#Kelly v. Arriba Soft. ''Arriba Soft'' case]]. The Ninth Circuit decision in this case is the first important decision of a US court on linking. In it, the Ninth Circuit held the deep linking by Arriba Soft to images on Kelly's website to be legal under the fair use doctrine.
  15. "The prosecution of Taiwan sexuality researcher and activist Josephine Ho". Sex.ncu.edu.tw.
  16. [[CNET]] News.com, [https://web.archive.org/web/20030207070416/http://news.com.com/2100-1033-955001.html Hyperlink patent case fails to click]. August 23, 2002.
  17. [https://web.archive.org/web/20110629041507/http://www.cybertelecom.org/ip/link.htm Cybertelecom:: Legal to Link?]  The ''Internet Archive''. Retrieved June 11, 2012.
  18. Ford Motor Company v. 2600 Enterprises, 177 F.Supp.2d 661 (EDMi December 20, 2001)
  19. American Civil Liberties Union v. Miller, 977 F.Supp. 1228 (ND Ga. 1997)
  20. Ticketmaster Corp. v. Tickets.Com, Inc., No. 99-07654 (CD Calif. March 27, 2000)
  21. [http://www.law.uh.edu/faculty/cjoyce/copyright/release10/IntRes.html Intellectual Reserve v. Utah Lighthouse Ministry, Inc.] {{webarchive. link. (2008-12-20 , 75 FSupp2d 1290 (D Utah 1999))
  22. Universal City Studios Inc v Reimerdes, 111 FSupp2d 294 (DCNY 2000)
  23. [http://www.linksandlaw.com/decision-161-comcast-illinoi-hightech-elec.pdf Comcast of Illinois X LLC v. Hightech Elec. Inc.] {{webarchive. link. (2008-12-17 , District Court for the Northern District of Illinois, Decision of July 28, 2004, 03 C 3231)
  24. [http://www.linksandlaw.com/decision-163-perfect-10-pictures-google.pdf Perfect 10 v. Google] {{webarchive. link. (2008-12-17 , Decision of February 21, 2006, Case No. CV 04-9484 AHM (CD Cal. 2/21/06), CRI 2006, 76–88 No liability for thumbnail links to infringing content)
  25. link. (2008-12-23)
  26. [https://web.archive.org/web/20090221083137/http://www.theinquirer.net/inquirer/news/093/1029093/singapore-firm-owns-pictures All your Interwibble is belong to us], Silvie Barak, [[The Inquirer]], 21 February 2009
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Hyperlink — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report