Hyperlink
   HOME

TheInfoList



OR:

In computing, a hyperlink, or simply a link, is a digital reference to data that the
user Ancient Egyptian roles * User (ancient Egyptian official), an ancient Egyptian nomarch (governor) of the Eighth Dynasty * Useramen, an ancient Egyptian vizier also called "User" Other uses * User (computing), a person (or software) using an ...
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 Hypertext is E-text, text displayed on a computer display or other electronic devices with references (hyperlinks) to other text that the reader can immediately access. Hypertext documents are interconnected by hyperlinks, which are typi ...
is text with hyperlinks. The text that is linked from is known as
anchor text The anchor text, link label or link text is the visible, clickable text in an HTML hyperlink. The term "anchor" was used in older versions of the HTML specification for what is currently referred to as the ''a element'', or . The HTML specifica ...
. 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.


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 Cropping is the removal of unwanted outer areas from a photographic or illustrated image. The process usually consists of the removal of some of the peripheral areas of an image to remove extraneous trash from the picture, to improve its framin ...
section, or
magnified ''Magnified'' is the second album by the American alternative rock band Failure. Production Drummer Robert Gauss departed during the recording of the album; the remaining drum parts were played by John Dargahi and Greg Edwards. ''Magnified'' dif ...
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 In graphic design, page layout is the arrangement of visual elements on a page. It generally involves organizational principles of composition to achieve specific communication objectives. The high-level page layout involves deciding on the ov ...
.


Anchor links

An anchor hyperlink (anchor link) is a link bound to a portion of a document, which is often called a
fragment Fragment may refer to: Entertainment Television and film * "Fragments" (''Torchwood''), an episode from the BBC TV series * "Fragments", an episode from the Canadian TV series ''Sanctuary'' * "Fragments" (Steven Universe Future), an episode f ...
. 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 " provides anchoring capability (as long as the DTD or schema defines it), and in wiki markup, 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

Tim Berners-Lee Sir Timothy John Berners-Lee (born 8 June 1955), also known as TimBL, is an English computer scientist best known as the inventor of the World Wide Web. He is a Professorial Fellow of Computer Science at the University of Oxford and a profess ...
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 The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working to ...
could look like in HTML code: W3C organization website This HTML code consists of several tags: * The hyperlink starts with an anchor opening tag , and includes a hyperlink reference href="https://www.w3.org/" to the
URL A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifie ...
for the page. (The URL is enclosed in quotes.) * The
URL A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifie ...
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.


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

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 ''BMC Bioinformatics'' is a peer-reviewed open access scientific journal covering bioinformatics and computational biology published by BioMed Central. It was established in 2000, and has been one of the fastest growing and most successful journals ...
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 A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifie ...
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 An HTML element is a type of HTML (HyperText Markup Language) document component, one of several types of HTML nodes (there are also text nodes, comment nodes and others). The first used version of HTML was written by Tim Berners-Lee in 1993 ...
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 In computer hypertext, a URI fragment is a character string (computer science), string of character (computing), characters that refers to a resource (computer science), resource that is subordinate to another, primary resource. The primary resou ...
"#''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 In metal typesetting, a font is a particular size, weight and style of a typeface. Each font is a matched set of type, with a piece (a "sort") for each glyph. A typeface consists of a range of such fonts that shared an overall design. In mod ...
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 Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML (including XML dialects such as SVG, MathML or XHTML). CSS is a cornerstone techno ...
(CSS) language. In a graphical user interface, the appearance of a mouse cursor may change into a
hand A hand is a prehensile, multi-fingered appendage located at the end of the forearm or forelimb of primates such as humans, chimpanzees, monkeys, and lemurs. A few other vertebrates such as the koala (which has two opposable thumbs on each "h ...
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 Ancient Egyptian roles * User (ancient Egyptian official), an ancient Egyptian nomarch (governor) of the Eighth Dynasty * Useramen, an ancient Egyptian vizier also called "User" Other uses * User (computing), a person (or software) using an ...
activates the link (e.g., by clicking on it with the
mouse A mouse ( : mice) is a small rodent. Characteristically, mice are known to have a pointed snout, small rounded ears, a body-length scaly tail, and a high breeding rate. The best known mouse species is the common house mouse (''Mus musculus' ...
) 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 Plug-in, plug in or plugin may refer to: * Plug-in (computing) is a software component that adds a specific feature to an existing computer program. ** Audio plug-in, adds audio signal processing features ** Photoshop plugin, a piece of software t ...
, 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 The anchor text, link label or link text is the visible, clickable text in an HTML hyperlink. The term "anchor" was used in older versions of the HTML specification for what is currently referred to as the ''a element'', or . The HTML specifica ...
* 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: :Example 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 Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements current and a ...
, 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 "As We May Think" is a 1945 essay by Vannevar Bush which has been described as visionary and influential, anticipating many aspects of information society. It was first published in ''The Atlantic'' in July 1945 and republished in an abridged v ...
", 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 Douglas Carl Engelbart (January 30, 1925 – July 2, 2013) was an American engineer and inventor, and an early computer and Internet pioneer. He is best known for his work on founding the field of human–computer interaction, particularly ...
(with Jeff Rulifson as chief
programmer A computer programmer, sometimes referred to as a software developer, a software engineer, a programmer or a coder, is a person who creates computer programs — often for larger computer software. A programmer is someone who writes/creates ...
) 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 Sir Timothy John Berners-Lee (born 8 June 1955), also known as TimBL, is an English computer scientist best known as the inventor of the World Wide Web. He is a Professorial Fellow of Computer Science at the University of Oxford and a profess ...
'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

While hyperlinking among webpages is an intrinsic feature of the
web Web most often refers to: * Spider web, a silken structure created by the animal * World Wide Web or the Web, an Internet-based hypertext system Web, WEB, or the Web may also refer to: Computing * WEB, a literate programming system created by ...
, 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 Deep or The Deep may refer to: Places United States * Deep Creek (Appomattox River tributary), Virginia * Deep Creek (Great Salt Lake), Idaho and Utah * Deep Creek (Mahantango Creek tributary), Pennsylvania * Deep Creek (Mojave River tributary), C ...
, 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 Josephine Chuen-juei Ho, is the chair of the English department of National Central University, Taiwan, and coordinator of itCenter For the Study of Sexualities She has withstood lawsuits directed at her outspokenness on gender and rights issues ...
was acquitted of 'hyperlinks that corrupt traditional values' in Taiwan. In 2000,
British Telecom BT Group plc (trade name, trading as BT and formerly British Telecom) is a British Multinational corporation, multinational telecommunications holding company headquartered in London, England. It has operations in around 180 countries and is th ...
sued Prodigy, claiming that Prodigy infringed its patent () on web hyperlinks. After
litigation - A lawsuit is a proceeding by a party or parties against another in the civil court of law. The archaic term "suit in law" is found in only a small number of laws still in effect today. The term "lawsuit" is used in reference to a civil actio ...
, a court found for Prodigy, ruling that
British Telecom BT Group plc (trade name, trading as BT and formerly British Telecom) is a British Multinational corporation, multinational telecommunications holding company headquartered in London, England. It has operations in around 180 countries and is th ...
'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,TelecomTV – TelecomTV One – News
around the world relating to search techniques using hyperlinked images to other websites or web pages.All your Interwibble is belong to us
Silvie Barak, The Inquirer, 21 February 2009


See also

* Backlink * Dereference (operator) *
Internal link An internal link is a type of hyperlink on a web page to another page or resource, such as an image or document, on the same website or domain. Hyperlinks are considered either "external" or "internal" depending on their target or destination ...
* Link building * Link rot *
Object hyperlinking Object hyperlinking is a term that refers to extending the Internet to objects and locations in the real world. Object hyperlinking aims to extend the Internet to the physical world by attaching tags with URLs to tangible objects or locations. Thes ...
* Overlinking * PageRank * URI fragment *
Xenu's Link Sleuth Xenu, or Xenu's Link Sleuth, is a computer program that checks websites for broken hyperlinks. It is written by Tilman Hausherr and is proprietary software available at no charge. The program is named after Xenu, the Galactic Ruler from Scient ...
* Nofollow


References


Further reading

* {{Authority control Graphical control elements Hypertext