Revision as of 19:15, 3 December 2004 view sourceAltenmann (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers217,359 editsm Reverted edits by 80.184.109.6 to last version by Pookleblinky← Previous edit | Latest revision as of 17:25, 26 December 2024 view source Janhrach (talk | contribs)Extended confirmed users, Template editors3,196 editsm Reverted 1 edit by Visaa11 (talk) to last revision by MarsJsonTags: Twinkle Undo | ||
Line 1: | Line 1: | ||
{{Short description|Method of referencing visual computer data}} | |||
A '''hyperlink''', or simply a ''']''', is a ] in a ] ] to another document or other ]. As such it would be similar to a ] in ]. However, combined with a ] ] and suitable ], it can be used to fetch the resource referenced. This can then be saved, viewed, or displayed as part of the referencing document. | |||
{{for|help creating links on Misplaced Pages|Help:Contents/Links|selfref=y}} | |||
{{pp-semi-indef|small=yes}} | |||
], with a ] pointer hovering above it]] | |||
] | |||
In ], a '''hyperlink''', or simply a '''link''', is a digital reference to ] that the ] can follow or be guided to by ] or ].<ref>{{Cite web|url=https://www.w3schools.com/html/html_links.asp|title=HTML Links|website=W3Schools |access-date=2019-05-21|archive-date=2022-09-08|archive-url=https://web.archive.org/web/20220908222558/https://www.w3schools.com/html/html_links.asp|url-status=live}}</ref> A hyperlink points to a whole document or to a specific element within a document. ] is text with hyperlinks. The text that is linked from is known as ]. 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. | |||
A ] has two ends, called ], and a ]. The link starts at the ] anchor and points to the ] anchor. However, the term '' link'' is often used for the source anchor, while the destination anchor is called the link ]. | |||
The document containing a hyperlink is known as its source document. For example, in content from ] or ], many words and terms in the text are hyperlinked to definitions of those terms. Hyperlinks are often used to implement reference ] such as tables of contents, ], ], ], and ]. | |||
The most common link target is a ] used in the ]. This can refer to a document, e.g. a ], or other resource, or to a ''position'' in a webpage. The latter is achieved by means of a ] with a "name" or "id" attribute at that position of the HTML document. The URL of the position is the URL of the webpage with "#''attribute name''" appended. | |||
In some hypertext, hyperlinks can be bidirectional: they can be followed in two directions, so both ends act as ] and as targets. More complex arrangements exist, such as many-to-many links. | |||
A ] usually displays a hyperlink in some distinguishing way, e.g. in a different ], ] or ]. A ] ] may also change into a ] ] to indicate a link. In most ], links are displayed in underlined ] ] when not ], but underlined ] text when cached. When the ] activates the link (e.g. by clicking on it with the ]) the browser will display the target of the link. If the target is not a html-file, depending on the ] type and on the browser and its ], an other ] may be activated to open the file. | |||
The effect of following a hyperlink may vary with the hypertext system and may sometimes depend on the link itself; for instance, on the ] 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 ]).<ref>{{cite web |url=https://www.computerhope.com/jargon/t/tabbrows.htm |title=Tabbed browsing |website=Computer Hope |date=Dec 31, 2020 |access-date=July 26, 2021 |url-status=live |archive-date=May 26, 2021 |archive-url=https://web.archive.org/web/20210526055511/https://www.computerhope.com/jargon/t/tabbrows.htm }}</ref> Another possibility is ], for which the link target is a ] 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 ]. | |||
The HTML code contains some or all of the four main characteristics of a link: | |||
*'''link target (URL)''' | |||
*'''link label''' | |||
*'''link title''' | |||
*'''link class''' or '''link id''' | |||
==Links== | |||
It uses the ] with the attribute "href" and optionally also the attributes "title", and "]" or "id": | |||
===Inline links=== | |||
<a href="''URL''" title="''link title''" class="''link class''">''link label''</a> | |||
An ] displays remote content without the need for embedding the content. The remote content may be accessed with or without the user following the link. | |||
An inline link may display a modified version of the content; for instance, instead of an image, a ], ] ], ] section, or ] section may be shown. The full content is then usually available on demand, as is the case with ] software{{snd}} e.g., with an ]. This allows for smaller file sizes and quicker response to changes when the full linked content is not needed, as is the case when rearranging a ]. | |||
When the ] hovers over a link, depending on the browser, some informative text about the link is shown: | |||
==={{Anchor|Anchor}}Anchor links===<!--Retain the anchor in this heading; anchor links to this section exist elsewhere.--> | |||
*it pops up, not in a regular ], but in a special ] box, which disappears when the cursor is moved away (sometimes it disappears anyway after a few seconds, and reappears when the cursor is moved away and back). ] and ] show the ], ] also shows the URL. | |||
An anchor hyperlink (anchor link) is a link bound to a portion of a document,<ref>{{Cite book|url=https://books.google.com/books?id=BoiMpnq5bmUC&q=%C2%A0An+anchor+hyperlink+is+a+link+bound+to+a+portion+of+a+document&pg=PA28|title=Multimedia, Hypermedia, and Virtual Reality: Models, Systems, and Application: First International Conference, MHVR'94, Moscow, Russia September (14–16), 1996. Selected Papers|last1=Brusilovski|first1=Peter|last2=Kommers|first2=Piet|last3=Streitz|first3=Norbert|date=1996-05-15|publisher=Springer Science & Business Media|isbn=9783540612827|url-status=live|archive-url=https://web.archive.org/web/20180207163213/https://books.google.com/books?id=BoiMpnq5bmUC&pg=PA28&dq=%C2%A0An+anchor+hyperlink+is+a+link+bound+to+a+portion+of+a+document&hl=en&sa=X&ved=0ahUKEwiRm8id6u3UAhVLslQKHRj1BCMQ6AEIJDAA#v=onepage&q=%C2%A0An%20anchor%20hyperlink%20is%20a%20link%20bound%20to%20a%20portion%20of%20a%20document&f=false|archive-date=2018-02-07}}</ref> which is often called a ]. The fragment is generally a portion of text or a heading, though not necessarily. For instance, it may also be a ] in an image (] in ]), a designated, often irregular part of an image. | |||
Fragments are marked with ''anchors'' (in any of various ways), which is why a link to a fragment is called an anchor link (that is, a link to an anchor). For example, in ], the element <code><anchor id="name" />"</code> provides anchoring capability (as long as the ] or schema defines it), and in ], <code><nowiki>{{anchor|name}}</nowiki></code> is a typical example of implementing it<!--which is how en.Misplaced Pages's implementation of MediaWiki provides it-->. In ] apps, anchors can be inserted where desired and may be called ''bookmarks''<!--which is what Microsoft Word calls them-->. In ], the hash character (#) precedes the name of the anchor for the fragment. | |||
*In addition, the URL may be shown in the ]. Opera and Mozilla Firefox give the full URL, IE gives it from the last ], or if it ends with a slash, from the last but one. | |||
One way to define a hot area in an image is by a list of coordinates that indicate its boundaries. For example, a ] may have each country hyperlinked to further information about that country. A separate invisible hot area interface allows for swapping ] or labels within the linked hot areas without repetitive embedding of links in the various skin elements. | |||
The ] ] uses ], a measure of ] to determine which page should be ranked first. The more pages that have a hyperlink pointing to a page, the higher rank that page gets. It is actually slightly more complicated than that, see ] for more information. | |||
'''Text hyperlink.''' Hyperlink is embedded into a word or a phrase and makes this text clickable. | |||
] sued ] under U.S. ] No. 4,873,662 claiming that Prodigy infringed its patent on web hyperlinks. However, after costly ], a ] found for Prodigy, ruling that ] Telecom's patent did not actually cover ] hyperlinks. Hyperlinks were first described in ] in the landmark paper '']'', as well in the widely-known ] starting in the ]. | |||
'''Image hyperlink.''' Hyperlink is embedded into an image and makes this image clickable. | |||
While hyperlinking among pages of Internet content has long been considered an ] feature of the Internet ], some websites have claimed that linking to them is not allowed without ], see e.g. and (in Dutch). You do not need to ask permission to link to any page of Misplaced Pages's. | |||
'''Bookmark hyperlink.''' Hyperlink is embedded into a text or an image and takes visitors to another part of a web page. | |||
See also ]. | |||
'''E-mail hyperlink.''' Hyperlink is embedded into e-mail address and allows visitors to send an e-mail message to this e-mail address.<ref>{{Cite web |title=The Anchor element – HTML: HyperText Markup Language|url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a|url-status=live|access-date=2021-10-13|website=Mozilla Developer Network|archive-date=2022-08-30|archive-url=https://web.archive.org/web/20220830154353/https://developer.mozilla.org/en-US/docs/Web/HTML/Element/A}}</ref> | |||
== ] ] == | |||
===Fat links=== | |||
In some ] it is or was (for example the Netherlands, see ]) held that hyperlinks are not merely ]s or ], but are ] for copying web pages. Although this principle is generally rejected by ] , the courts that adhere to it see the mere ] of a hyperlink that connects to illegal ] to be an ] ] in itself, regardless of whether referencing illegal material is illegal. | |||
A '''fat link''' (also known as a "one-to-many" link, an "extended link"<ref>{{cite web |url=https://www.w3.org/TR/xlink/#extended-link |title=XML Linking Language (XLink) Version 1.0 |website=W3C |access-date=July 26, 2021 |url-status=live |archive-date=July 17, 2021 |archive-url=https://web.archive.org/web/20210717122126/http://www.w3.org/TR/xlink/#extended-link }}</ref> or a "multi-tailed link")<ref>{{cite web |title=HTML, Web Browsers, and Other Paraphernalia |url=http://people.duke.edu/~mshumate/fiction/htt/tools.html |url-status=dead |archive-url=https://web.archive.org/web/20130704143743/http://people.duke.edu/~mshumate/fiction/htt/tools.html#fatlink |archive-date=July 4, 2013}}</ref> is a hyperlink which leads to multiple endpoints; the link is a ]. | |||
==Uses in various technologies== | |||
==External links== | |||
* - case ] ], links to relevant court rulings worldwide and to relevant ] about hyperlinking | |||
===HTML=== | |||
{{Main article|HTML element#Anchor}} | |||
] saw the possibility of using hyperlinks to link any information to any other information over the ]. Hyperlinks were therefore integral to the creation of the ]. Web pages are written in the hypertext mark-up language ]. | |||
This is what a hyperlink to the home page of the ] could look like in HTML code: | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
<syntaxhighlight lang="html"> | |||
] | |||
<a href="https://www.w3.org/">W3C organization website</a> | |||
] | |||
</syntaxhighlight> | |||
This HTML code consists of several ]: | |||
* The hyperlink starts with an anchor opening tag '''<nowiki><a</nowiki>''', and includes a hyperlink reference '''<nowiki>href="https://www.w3.org/</nowiki>"''' to the ''']''' for the page. (The URL is enclosed in quotes.) | |||
* The ] 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 ('''<nowiki></a></nowiki>''') terminates the hyperlink code. | |||
* The '''<nowiki><a></nowiki>''' tag can also consist of various ] such as the "rel" attribute which specifies the relationship between the current document and linked document. | |||
] is a ], formed from ]s as vertices and hyperlinks, as directed edges. | |||
===XLink=== | |||
The ] recommendation called ] 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.{{Citation needed |date=May 2024}} | |||
===Permalinks=== | |||
{{Main article|Digital preservation}} | |||
]s are URLs that are intended to remain unchanged for many years into the future, yielding hyperlinks that are less susceptible to ]. 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 ] and ] readers to the same ], blog post or any online digital media.<ref name="techopedia.com">{{cite web | url = https://www.techopedia.com/definition/4900/permanent-link-permalink | title = Definition of Permanent Link (Permalink) | website = techopedia.com| access-date = Oct 31, 2018 | archive-date = November 1, 2018 | archive-url = https://web.archive.org/web/20181101015428/https://www.techopedia.com/definition/4900/permanent-link-permalink | url-status = live }}</ref> | |||
The scientific literature is a place where link persistence is crucial to the public knowledge. A 2013 study in ] analyzed 15,000 links in abstracts from Thomson Reuters' ] citation index, founding that the median lifespan of Web pages was 9.3 years, and just 62% were archived.<ref>{{cite web | first = Leighton | last = W. Kille | url = https://journalistsresource.org/studies/society/internet/website-linking-best-practices-media-online-publishers | title = The growing problem of Internet 'link rot' and best practices for media and online publishers | website = journalistsresource.org| access-date = Oct 30, 2018 | archive-url = https://web.archive.org/web/20140919162322/https://journalistsresource.org/studies/society/internet/website-linking-best-practices-media-online-publishers | archive-date = September 19, 2014 | url-status = live| date = 2015-10-09 }}</ref> The median lifespan of a Web page constitutes high-degree variable, but its ] usually is of some months.<ref>{{cite web | url = https://blogs.loc.gov/thesignal/2011/11/the-average-lifespan-of-a-webpage/ | title = The Average Lifespan of a Webpage |date = November 8, 2011 |access-date = Oct 31, 2018 | archive-url = https://web.archive.org/web/20160908223104/https://blogs.loc.gov/thesignal/2011/11/the-average-lifespan-of-a-webpage/ | archive-date = September 8, 2016 | url-status = live}}</ref> | |||
==How hyperlinks work in HTML== | |||
A link from one domain to another is said to be ''outbound'' from its source anchor and ] to its target. | |||
The most common destination anchor is a ] used in the ]. This can refer to a document, e.g. a ], or other resource, or to a position in a webpage. The latter is achieved by means of an ] with a "name" or "id" attribute at that position of the HTML document. The URL of the position is the URL of the webpage with a ]{{snd}} "#''id attribute''"{{snd}} appended. | |||
When linking to PDF documents from an HTML page the "''id attribute''" can be replaced with syntax that references a page number or another element of the PDF, for example, "#''page=386''". | |||
===Link behavior in web browsers=== | |||
{{anchor|Link decoration}}A ] usually displays a hyperlink in some distinguishing way, e.g. in a different ], ] or ], or with certain symbols following to visualize link target or document types. This is also called ''link decoration''. The behavior and style of links can be specified using the ] (CSS) language. | |||
In a graphical user interface, the appearance of a mouse ] may change into a ] motif to indicate a link. In most graphical web browsers, links are displayed in underlined blue text when they have not been visited, but underlined purple text when they have. When the ] activates the link (e.g., by clicking on it with the ]) the browser displays the link's target. If the target is not an HTML file, depending on the ] and on the browser and its ], another program may be activated to open the file. | |||
The HTML code contains some or all of the five main characteristics of a link: | |||
* '''link destination''' ("href" pointing to a URL) | |||
* ''']''' | |||
* '''link title''' | |||
* '''link target''' | |||
* '''link class''' or '''link id''' | |||
It uses the ] with the attribute "href" (HREF is an abbreviation for "Hypertext REFerence"<ref>{{cite web|author=Tim Berners-Lee|url=https://www.w3.org/Provider/ServerWriter.html|title=Making a Server ("HREF" is for "hypertext reference")|publisher=W3C|access-date=2012-10-25|url-status=live|archive-url=https://web.archive.org/web/20121025220948/http://www.w3.org/Provider/ServerWriter.html|archive-date=2012-10-25|author-link=Tim Berners-Lee}}</ref>) and optionally also the attributes "title", "target", and "]" or "id": | |||
:<samp><a href="''URL''" title="''link title''" target="''link target''" class="''link class''">''link label''</a></samp> | |||
To embed a link into a web page, blogpost, or comment, it may take this form: | |||
:<code><nowiki><a href="https://example.com/">Example</a></nowiki></code> | |||
In a typical web browser, this would display as the underlined word "Example" in blue, which when clicked would take the user to the example.com website. This contributes to a clean, easy to read text or document. | |||
By default, browsers will usually display hyperlinks as such: | |||
* An unvisited link is usually blue and underlined | |||
* A visited link is usually purple and underlined | |||
* An active link is usually red and underlined | |||
When the cursor hovers over a link, depending on the browser and graphical user interface, some informative text about the link can be shown, popping up, not in a regular ], but in a special ], which disappears when the cursor is moved away (sometimes it disappears anyway after a few seconds, and reappears when the cursor is moved away and back). ], ], ], and many other web browsers all show the URL. In addition, the URL is commonly shown in the ]. | |||
Normally, a link opens in the current ] or window, but sites that use frames and multiple windows for navigation can add a special "target" attribute to specify where the link loads. If no window exists with that name, a new window is created with the ID, which can be used to refer to the window later in the browsing session. | |||
Creation of new windows is probably the most common use of the "target" attribute. To prevent accidental reuse of a window, the special window names "_blank" and "_new" are usually available, and always cause a new window to be created. It is especially common to see this type of link when one large website links to an external page. The intention in that case is to ensure that the person browsing is aware that there is no endorsement of the site being linked to by the site that was linked from. However, the attribute is sometimes overused and can sometimes cause many windows to be created even while browsing a single site. | |||
Another special page name is "_top", which causes any frames in the current window to be cleared away so that browsing can continue in the full window. | |||
==History== | |||
], 1969]] | |||
The term "link" was coined in 1965 (or possibly 1964) by ] at the start of ]. Nelson had been inspired by "]", a popular 1945 essay by ]. In the essay, Bush described a microfilm-based machine (the ]) 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 ] in the 1980s, it never created this proprietary public-access network. Meanwhile, working independently, a team led by ] (with ] as chief ]) 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 ]. ] 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 ], which was cited as the source for the link concept in ]'s Spring 1989 manifesto for the Web. In 1988, ] and Greg Kearsley used HyperTIES to publish "Hypertext Hands-On!", the world's first electronic book.{{citation needed|date=February 2019|reason=First electronic book is a bold claim.}} | |||
Released in 1987 for the ], the database program ] allowed for hyperlinking between various pages within a document, as well as to other documents and separate applications on the same computer.<ref name='"Search paths"'>{{cite book |last1=(Atkinson |first1=Bill?) |title=Hypercard User's Guide |date=1987 |publisher=Apple Computer Inc |page=49 |edition=1 |url=https://vintageapple.org/macprogramming/pdf/HyperCard_Users_Guide_1987.pdf#page=73 |archive-url=https://web.archive.org/web/20180123113437/http://vintageapple.org/macprogramming/pdf/HyperCard_Users_Guide_1987.pdf |archive-date=2018-01-23 |url-status=live |ref=p.49 |chapter=3}}</ref> In 1990, ], which was introduced with ], had widespread use of hyperlinks to link different pages in a single ] 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 ] from 1991. It was soon eclipsed by HTML after the 1993 release of the ] (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. | |||
==Legal issues== | |||
{{Main article|Copyright aspects of hyperlinking and framing}} | |||
While hyperlinking among webpages is an intrinsic feature of the ], some websites object to being linked by other websites; some have claimed that linking to them is not allowed without permission. | |||
Contentious in particular are ], which do not point to a site's ] or other entry point designated by the site owner, but to content elsewhere, allowing the user to bypass the site's own designated flow, and ''inline links'', which incorporate the content in question into the pages of the linking site, making it seem part of the linking site's own content unless an explicit attribution is added.<ref>See ]. 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.</ref> | |||
In certain ]s, it is or has been held that hyperlinks are not merely ]s or ], but are devices for copying web pages. In the Netherlands, ] was initially convicted in this way of copyright infringement by linking, although this ruling was overturned in 2003. The courts that advocate this view see the mere ] of a hyperlink that connects to illegal material to be an illegal act in itself, regardless of whether referencing illegal material is illegal. In 2004, ] was acquitted of 'hyperlinks that corrupt traditional values' in ].<ref>{{cite web|url=http://sex.ncu.edu.tw/animal-love/news/2004Jan-Jun/Wang.pdf |title=The prosecution of Taiwan sexuality researcher and activist Josephine Ho |publisher=Sex.ncu.edu.tw |access-date=2012-10-25 |url-status=dead |archive-url=https://web.archive.org/web/20120208052339/http://sex.ncu.edu.tw/animal-love/news/2004Jan-Jun/Wang.pdf |archive-date=February 8, 2012 }}</ref> | |||
In 2000, ] sued ], claiming that Prodigy infringed its patent ({{US patent|4873662}}) on web hyperlinks. After ], a ] found for Prodigy, ruling that ]'s patent did not cover web hyperlinks.<ref>] News.com, . August 23, 2002.</ref> | |||
In United States '']'', there is a distinction between the mere act of linking to someone else's website, and linking to content that is illegal (e.g., gambling illegal in the US) or ] (e.g., illegal MP3 copies).<ref> The ''Internet Archive''. Retrieved June 11, 2012.</ref> Several courts have found that merely linking to someone else's website, even if by bypassing commercial advertising, is not copyright or trademark infringement, regardless of how much someone else might object.<ref>Ford Motor Company v. 2600 Enterprises, 177 F.Supp.2d 661 (EDMi December 20, 2001)</ref><ref>American Civil Liberties Union v. Miller, 977 F.Supp. 1228 (ND Ga. 1997)</ref><ref>Ticketmaster Corp. v. Tickets.Com, Inc., No. 99-07654 (CD Calif. March 27, 2000)</ref> Linking to illegal or infringing content can be sufficiently problematic to give rise to legal liability.<ref> {{webarchive|url=https://web.archive.org/web/20081220211433/http://www.law.uh.edu/faculty/cjoyce/copyright/release10/IntRes.html |date=2008-12-20 }}, 75 FSupp2d 1290 (D Utah 1999)</ref><ref>Universal City Studios Inc v Reimerdes, 111 FSupp2d 294 (DCNY 2000)</ref><ref> {{webarchive|url=https://web.archive.org/web/20081217124715/http://www.linksandlaw.com/decision-161-comcast-illinoi-hightech-elec.pdf |date=2008-12-17 }}, District Court for the Northern District of Illinois, Decision of July 28, 2004, 03 C 3231</ref> Compare<ref> {{webarchive|url=https://web.archive.org/web/20081217124705/http://www.linksandlaw.com/decision-163-perfect-10-pictures-google.pdf |date=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</ref> for a summary of the current status of US copyright law as to hyperlinking, see the discussion regarding ]. | |||
Somewhat controversially, ] has tried to enforce ]s applied for by its owner, Ronald Neville Langford,<ref> {{webarchive|url=https://web.archive.org/web/20081223012806/http://web20.telecomtv.com/pages/?newsid=43241&id=e9381817-0593-417a-8639-c4c53e2a2a10&view=news |date=2008-12-23 }}</ref> around the world relating to search techniques using hyperlinked images to other ] or web pages.<ref name="inquirer">, Silvie Barak, ], 21 February 2009</ref> | |||
==See also== | |||
* ] | |||
* ] (operator) | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
==References== | |||
{{Reflist}} | |||
==Further reading== | |||
* {{Cite book|last=Weinreich|first=Harald|author2=Hartmut Obendorf |author3=Winfried Lamersdorf |title=Proceedings of the 12th ACM conference on Hypertext and Hypermedia |chapter=The look of the link – concepts for the user interface of extended hyperlinks |year=2001|page=19|doi=10.1145/504216.504225|isbn=9781581134209|citeseerx=10.1.1.17.4220|s2cid=14289046}} | |||
{{Graphical control elements}} | |||
{{Authority control}} | |||
] | |||
] |
Latest revision as of 17:25, 26 December 2024
Method of referencing visual computer data For help creating links on Misplaced Pages, see Help:Contents/Links.
In computing, a hyperlink, or simply a link, is a digital reference to data that the user can follow or be guided to by 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 Misplaced Pages 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.
Links
Inline links
An inline link displays remote content without the need for embedding the content. The remote content may be accessed with or without the user following the link.
An inline link may display a modified version of the content; for instance, instead of an image, a thumbnail, low resolution preview, cropped section, or magnified section may be shown. The full content is then usually available on demand, as is the case with print publishing software – e.g., with an external link. This allows for smaller file sizes and quicker response to changes when the full linked content is not needed, as is the case when rearranging a page layout.
Anchor links
An anchor hyperlink (anchor link) is a link bound to a portion of a document, which is often called a fragment. The fragment is generally a portion of text or a heading, though not necessarily. For instance, it may also be a hot area in an image (image map in HTML), a designated, often irregular part of an image.
Fragments are marked with anchors (in any of various ways), which is why a link to a fragment is called an anchor link (that is, a link to an anchor). For example, in XML, the element <anchor id="name" />"
provides anchoring capability (as long as the DTD or schema defines it), and in wiki markup, {{anchor|name}}
is a typical example of implementing it. In word processor apps, anchors can be inserted where desired and may be called bookmarks. In URLs, the hash character (#) precedes the name of the anchor for the fragment.
One way to define a hot area in an image is by a list of coordinates that indicate its boundaries. For example, a political map of Africa may have each country hyperlinked to further information about that country. A separate invisible hot area interface allows for swapping skins or labels within the linked hot areas without repetitive embedding of links in the various skin elements.
Text hyperlink. Hyperlink is embedded into a word or a phrase and makes this text clickable.
Image hyperlink. Hyperlink is embedded into an image and makes this image clickable.
Bookmark hyperlink. Hyperlink is embedded into a text or an image and takes visitors to another part of a web page.
E-mail hyperlink. Hyperlink is embedded into e-mail address and allows visitors to send an e-mail message to this e-mail address.
Fat links
A fat link (also known as a "one-to-many" link, an "extended link" or a "multi-tailed link") is a hyperlink which leads to multiple endpoints; the link is a set-valued function.
Uses in various technologies
HTML
Main article: HTML element § AnchorTim 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 <a, and includes a hyperlink reference 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 (</a>) terminates the hyperlink code.
- The <a> 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.
XLink
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.
Permalinks
Main article: Digital preservationPermalinks 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.
How hyperlinks work in HTML
A link from one domain to another is said to be outbound from its source anchor and inbound to its target.
The most common destination anchor is a URL used in the World Wide Web. This can refer to a document, e.g. a webpage, or other resource, or to a position in a webpage. The latter is achieved by means of an HTML element with a "name" or "id" attribute at that position of the HTML document. The URL of the position is the URL of the webpage with a fragment identifier – "#id attribute" – appended.
When linking to PDF documents from an HTML page the "id attribute" can be replaced with syntax that references a page number or another element of the PDF, for example, "#page=386".
Link behavior in web browsers
A web browser usually displays a hyperlink in some distinguishing way, e.g. in a different color, font or style, or with certain symbols following to visualize link target or document types. This is also called link decoration. The behavior and style of links can be specified using the Cascading Style Sheets (CSS) language.
In a graphical user interface, the appearance of a mouse cursor may change into a hand motif to indicate a link. In most graphical web browsers, links are displayed in underlined blue text when they have not been visited, but underlined purple text when they have. When the user activates the link (e.g., by clicking on it with the mouse) the browser displays the link's target. If the target is not an HTML file, depending on the file type and on the browser and its plugins, another program may be activated to open the file.
The HTML code contains some or all of the five main characteristics of a link:
- link destination ("href" pointing to a URL)
- link label
- link title
- link target
- link class or link id
It uses the HTML element "a" with the attribute "href" (HREF is an abbreviation for "Hypertext REFerence") and optionally also the attributes "title", "target", and "class" or "id":
- <a href="URL" title="link title" target="link target" class="link class">link label</a>
To embed a link into a web page, blogpost, or comment, it may take this form:
<a href="https://example.com/">Example</a>
In a typical web browser, this would display as the underlined word "Example" in blue, which when clicked would take the user to the example.com website. This contributes to a clean, easy to read text or document.
By default, browsers will usually display hyperlinks as such:
- An unvisited link is usually blue and underlined
- A visited link is usually purple and underlined
- An active link is usually red and underlined
When the cursor hovers over a link, depending on the browser and graphical user interface, some informative text about the link can be shown, popping up, not in a regular window, but in a special hover box, which disappears when the cursor is moved away (sometimes it disappears anyway after a few seconds, and reappears when the cursor is moved away and back). Mozilla Firefox, IE, Opera, and many other web browsers all show the URL. In addition, the URL is commonly shown in the status bar.
Normally, a link opens in the current frame or window, but sites that use frames and multiple windows for navigation can add a special "target" attribute to specify where the link loads. If no window exists with that name, a new window is created with the ID, which can be used to refer to the window later in the browsing session.
Creation of new windows is probably the most common use of the "target" attribute. To prevent accidental reuse of a window, the special window names "_blank" and "_new" are usually available, and always cause a new window to be created. It is especially common to see this type of link when one large website links to an external page. The intention in that case is to ensure that the person browsing is aware that there is no endorsement of the site being linked to by the site that was linked from. However, the attribute is sometimes overused and can sometimes cause many windows to be created even while browsing a single site.
Another special page name is "_top", which causes any frames in the current window to be cleared away so that browsing can continue in the full window.
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.
Legal issues
Main article: Copyright aspects of hyperlinking and framingWhile hyperlinking among webpages is an intrinsic feature of the web, some websites object to being linked by other websites; some have claimed that linking to them is not allowed without permission.
Contentious in particular are deep links, which do not point to a site's home page or other entry point designated by the site owner, but to content elsewhere, allowing the user to bypass the site's own designated flow, and inline links, which incorporate the content in question into the pages of the linking site, making it seem part of the linking site's own content unless an explicit attribution is added.
In certain jurisdictions, it is or has been held that hyperlinks are not merely references or citations, but are devices for copying web pages. In the Netherlands, Karin Spaink was initially convicted in this way of copyright infringement by linking, although this ruling was overturned in 2003. The courts that advocate this view see the mere publication of a hyperlink that connects to illegal material to be an illegal act in itself, regardless of whether referencing illegal material is illegal. In 2004, Josephine Ho was acquitted of 'hyperlinks that corrupt traditional values' in Taiwan.
In 2000, British Telecom sued Prodigy, claiming that Prodigy infringed its patent (U.S. patent 4,873,662) on web hyperlinks. After litigation, a court found for Prodigy, ruling that British Telecom's patent did not cover web hyperlinks.
In United States jurisprudence, there is a distinction between the mere act of linking to someone else's website, and linking to content that is illegal (e.g., gambling illegal in the US) or infringing (e.g., illegal MP3 copies). Several courts have found that merely linking to someone else's website, even if by bypassing commercial advertising, is not copyright or trademark infringement, regardless of how much someone else might object. Linking to illegal or infringing content can be sufficiently problematic to give rise to legal liability. Compare for a summary of the current status of US copyright law as to hyperlinking, see the discussion regarding the Arriba Soft and Perfect 10 cases.
Somewhat controversially, Vuestar Technologies has tried to enforce patents applied for by its owner, Ronald Neville Langford, around the world relating to search techniques using hyperlinked images to other websites or web pages.
See also
- Backlink
- Dereference (operator)
- Internal link
- Link building
- Link rot
- Object hyperlinking
- Overlinking
- PageRank
- URI fragment
- Xenu's Link Sleuth
- Nofollow
References
- "HTML Links". W3Schools. Archived from the original on 2022-09-08. Retrieved 2019-05-21.
- "Tabbed browsing". Computer Hope. Dec 31, 2020. Archived from the original on May 26, 2021. Retrieved July 26, 2021.
- Brusilovski, Peter; Kommers, Piet; Streitz, Norbert (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. ISBN 9783540612827. Archived from the original on 2018-02-07.
- "The Anchor element – HTML: HyperText Markup Language". Mozilla Developer Network. Archived from the original on 2022-08-30. Retrieved 2021-10-13.
- "XML Linking Language (XLink) Version 1.0". W3C. Archived from the original on July 17, 2021. Retrieved July 26, 2021.
- "HTML, Web Browsers, and Other Paraphernalia". Archived from the original on July 4, 2013.
- "Definition of Permanent Link (Permalink)". techopedia.com. Archived from the original on November 1, 2018. Retrieved Oct 31, 2018.
- W. Kille, Leighton (2015-10-09). "The growing problem of Internet 'link rot' and best practices for media and online publishers". journalistsresource.org. Archived from the original on September 19, 2014. Retrieved Oct 30, 2018.
- "The Average Lifespan of a Webpage". November 8, 2011. Archived from the original on September 8, 2016. Retrieved Oct 31, 2018.
- Tim Berners-Lee. "Making a Server ("HREF" is for "hypertext reference")". W3C. Archived from the original on 2012-10-25. Retrieved 2012-10-25.
- (Atkinson, Bill?) (1987). "3". Hypercard User's Guide (PDF) (1 ed.). Apple Computer Inc. p. 49. Archived (PDF) from the original on 2018-01-23.
- See 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.
- "The prosecution of Taiwan sexuality researcher and activist Josephine Ho" (PDF). Sex.ncu.edu.tw. Archived from the original (PDF) on February 8, 2012. Retrieved 2012-10-25.
- CNET News.com, Hyperlink patent case fails to click. August 23, 2002.
- Cybertelecom:: Legal to Link? The Internet Archive. Retrieved June 11, 2012.
- Ford Motor Company v. 2600 Enterprises, 177 F.Supp.2d 661 (EDMi December 20, 2001)
- American Civil Liberties Union v. Miller, 977 F.Supp. 1228 (ND Ga. 1997)
- Ticketmaster Corp. v. Tickets.Com, Inc., No. 99-07654 (CD Calif. March 27, 2000)
- Intellectual Reserve v. Utah Lighthouse Ministry, Inc. Archived 2008-12-20 at the Wayback Machine, 75 FSupp2d 1290 (D Utah 1999)
- Universal City Studios Inc v Reimerdes, 111 FSupp2d 294 (DCNY 2000)
- Comcast of Illinois X LLC v. Hightech Elec. Inc. Archived 2008-12-17 at the Wayback Machine, District Court for the Northern District of Illinois, Decision of July 28, 2004, 03 C 3231
- Perfect 10 v. Google Archived 2008-12-17 at the Wayback Machine, 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
- TelecomTV – TelecomTV One – News Archived 2008-12-23 at the Wayback Machine
- All your Interwibble is belong to us, Silvie Barak, The Inquirer, 21 February 2009
Further reading
- Weinreich, Harald; Hartmut Obendorf; Winfried Lamersdorf (2001). "The look of the link – concepts for the user interface of extended hyperlinks". Proceedings of the 12th ACM conference on Hypertext and Hypermedia. p. 19. CiteSeerX 10.1.1.17.4220. doi:10.1145/504216.504225. ISBN 9781581134209. S2CID 14289046.
Graphical control elements | |
---|---|
Command input | |
Data input-output | |
Informational | |
Containers | |
Navigational | |
Special windows | |
Related concepts |