In computing, a hyperlink (often abbreviated to "link") is a reference or navigation element in a hypertext document that offers direct access to another section of the same document or to another hypertext document that is on or part of a (different) domain. Hypertext (meaning "more than just" text) is a form of text typically published on Websites that provides a richer functionality than simple text documents by enabling the reader to explore interesting links to other Web pages linked to specific words or images within the page. Typically, the words or image will be relevant to the linked page, but badly designed or malicious sites may use obscure or obfuscated links that make it hard to work out where the link will take the user. A site that uses a lot of these obscure links is said to use "mystery meat navigation."
- 1 Types of links
- 2 Hyperlinks in various technologies
- 3 How hyperlinks work in HTML
- 4 History of the hyperlink
- 5 Legal issues
- 6 See also
- 7 Notes
- 8 References
- 9 External links
- 10 Credits
An embedded link is a navigation element included as part of an object such as hypertext or a hot area.
Example: The first word of this sentence: ("Example") is a navigation link embedded in a text object—if the word is clicked, the browser will navigate to a different page.
An inline link displays remote content without the need for embedding the content. The remote content may be accessed with or without the user selecting the link. Inline links may display specific parts of the content (e.g. thumbnail, low resolution preview, cropped sections, magnified sections, description text, etc.) and access other parts or the full content when needed, as is the case with print publishing software. 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.
A hot area (image map in HTML) is an invisible area of the screen that covers a text label or graphical images. A technical description of a hot area is a list of coordinates relating to a specific area on a screen created in order to hyperlink areas of the image to various destinations, disable linking via negative space around irregular shapes, or enable linking via invisible areas. For example, a political map of Africa may have each irregularly shaped 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.
Random-accessed linking data are links retrieved from a database or variable containers in a program when the retrieval function is from user interaction (e.g. dynamic menu from an address book) or non-interactive (e.g. random, calculated) process.
A hardware-accessed link is a link that activates directly via an input device (e.g. keyboard, microphone, remote control) without the need or use of a graphical user interface.
Tim Berners-Lee saw the possibility of using hyperlinks to link any unit of information to any other unit of information over the Internet. Hyperlinks were therefore integral to the creation of the World Wide Web.
Links are specified in HTML using the <a> (anchor) elements.
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, linking from, within, and between XML documents. It also describes simple links, which are unidirectional and therefore offer no more functionality than hyperlinks in HTML.
Hyperlinks are used in the Gopher protocol, e-mails, Text editors, PDF documents, word processing documents, spreadsheets, Apple's HyperCard and many other places.
A link has two ends, called anchors, and a direction. The link starts at the source anchor and points to the destination anchor. 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 a 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 "#attribute name" appended—this is a fragment identifier.
When linking to PDF documents from an HTML page the "attribute name" can be replaced with syntax that references a page number or another element of the PDF, for example page=[pageNo] - "#page=386."
Link behavior in Web browsers
A web browser usually displays a hyperlink in some distinguishing way, such as in a different color, font or style. 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 not cached, but underlined purple text when cached. When the user activates the link (e.g. by clicking on it with the mouse) the browser will display the target of the link. 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>
Example: To embed a link into a Page, blogpost, or comment, it may take this form:
Thus, the complex link string is reduced to, [Wikipedia]. This contributes to a clean, easy-to-read text or document.
When the cursor hovers over a link, depending on the browser and/or graphical user interface, some informative text about the link can be shown:
- It pops 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 shows the URL.
- In addition, the URL is commonly shown in the status bar.
Normally, a link will open 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 will be loaded. Windows can be named upon creation, and that identifier can be used to refer to it later in the browsing session. If no current window exists with that name, a new window will be created using the ID.
Creation of new windows is probably the most common use of the "target" attribute. In order to prevent accidental reuse of a window, the special window names "_blank" and "_new" are usually available, and will 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.
The term "hyperlink" 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 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. The closest contemporary analogy would be to build a list of bookmarks to topically related Web pages and then allow the user to scroll forward and backward through the list.
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 worldwide computer network, and advocated the creation of such a 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). See NLS.
While hyperlinking among pages of Internet content has long been considered an intrinsic feature of the Internet, some websites have claimed that linking to them is not allowed without permission.
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, for example, Karin Spaink was initially convicted of copyright infringement for linking, although this ruling was overturned in 2003. The courts that advocate it 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 2000, British Telecom sued Prodigy claiming that Prodigy infringed its patent (U.S. Patent 4873662) on web hyperlinks. After litigation, a court found for Prodigy, ruling that British Telecom's patent did not cover web hyperlinks.
When linking to illegal or infringing copyrighted content the law of linking liability is currently considered a grey area. There are examples where sites have been proven liable such as Plaintiff Intellectual Reserve vs Utah Lighthouse Ministry, Universal City Studios, Inc. v. Reimerdes, and Comcast vs. Hightech Electronics Inc, and there are examples where sites have not been proven liable for linking.
- Tim Berners-Lee, Making a Server ("HREF" is for "hypertext reference") Retrieved November 25, 2008.
- The prosecution of Taiwan sexuality researcher and activist Josephine Ho Retrieved November 25, 2008.
- CNET News.com, Hyperlink patent case fails to click Retrieved November 25, 2008.
- WebTVWire.com, Linking to Infringing Video is probably Illegal in the US Retrieved November 25, 2008.
ReferencesISBN links support NWE through referral fees
- Liu, Bing. 2007. Web Data Mining Exploring Hyperlinks, Contents, and Usage Data. Berlin: Springer. ISBN 978-3540378815
- Platt, Richard. 2004. Communication: From Hieroglyphs to Hyperlink. Kingfisher Knowledge. Boston: Kingfisher. ISBN 0753457695
- Provenzo, Eugene F. 2001. The Internet and the World Wide Web for Teachers. Boston, MA: Allyn & Bacon. ISBN 020534349X
All links retrieved January 23, 2018.
- Links & Law (Overview of legal issues and court rulings involving linking.)
New World Encyclopedia writers and editors rewrote and completed the Wikipedia article in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution. Credit is due under the terms of this license that can reference both the New World Encyclopedia contributors and the selfless volunteer contributors of the Wikimedia Foundation. To cite this article click here for a list of acceptable citing formats.The history of earlier contributions by wikipedians is accessible to researchers here:
The history of this article since it was imported to New World Encyclopedia:
Note: Some restrictions may apply to use of individual images which are separately licensed.