Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Hyperlink

Page semi-protected
From Wikipedia, the free encyclopedia
Method of referencing visual computer data
For help creating links on Wikipedia, seeHelp:Contents/Links.

An example of a hyperlink as commonly seen in aweb browser, with acomputer mouse pointer hovering above it
Visual abstraction of several documents being connected by hyperlinks

Incomputing, ahyperlink, or simply alink, is a digital reference providing direct access todata by auser'sclicking ortapping.[1] 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 asanchor text. A software system that is used for viewing and creating hypertext is ahypertext system, and to create a hyperlink isto hyperlink (or simplyto link). A user following hyperlinks is said tonavigate orbrowse the hypertext.

The document containing a hyperlink is known as its source document. For example, in content fromWikipedia orGoogle Search, many words and terms in the text are hyperlinked to definitions of those terms. Hyperlinks are often used to implement referencemechanisms such as tables of contents,footnotes,bibliographies,indexes, andglossaries.

In some hypertext, hyperlinks can be bidirectional: they can be followed in two directions, so both ends act asanchors 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 theWorld 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 newtab).[2] Another possibility istransclusion, for which the link target is adocument 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 Webspider orcrawler.

Links

Inline links

Aninline 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, athumbnail,low resolutionpreview,cropped section, ormagnified section may be shown. The full content is then usually available on demand, as is the case withprint publishing software – e.g., with anexternal 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 apage layout.

Anchor links

An anchor hyperlink (anchor link) is a link bound to a portion of a document,[3] which is often called afragment. The fragment is generally a portion of text or a heading, though not necessarily. For instance, it may also be ahot area in an image (image map inHTML), a designated, often irregular part of an image.

Fragments are marked withanchors (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, inXML, the element<anchor />" provides anchoring capability (as long as theDTD or schema defines it), and inwiki markup,{{anchor|name}} is a typical example of implementing it. Inword processor apps, anchors can be inserted where desired and may be calledbookmarks. InURLs, 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, apolitical map of Africa may have each country hyperlinked to further information about that country. A separate invisible hot area interface allows for swappingskins 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.[4]

Fat links

Afat link (also known as a "one-to-many" link, an "extended link"[5] or a "multi-tailed link")[6] is a hyperlink which leads to multiple endpoints; the link is aset-valued function.

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 theInternet. Hyperlinks were therefore integral to the creation of theWorld Wide Web. Web pages are written in the hypertext mark-up languageHTML.

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

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

This HTML code consists of severaltags:

  • The hyperlink starts with an anchor opening tag<a, and includes a hyperlink referencehref="https://www.w3.org/" to theURL for the page. (The URL is enclosed in quotes.)
  • TheURL 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 variousattributes such as the "rel" attribute which specifies the relationship between the current document and linked document.

Webgraph is agraph, formed fromweb pages as vertices and hyperlinks, as directed edges.

XLink

TheW3C recommendation calledXLink describes hyperlinks that offer a far greater degree of functionality than those offered in HTML. Theseextended links can bemultidirectional, remove linking from, within, and between XML documents. It can also describesimple links, which are unidirectional and therefore offer no more functionality than hyperlinks in HTML.[citation needed]

Permalinks

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 tolink 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 topoint andredirect readers to the sameWeb page, blog post or any online digital media.[7]

The scientific literature is a place where link persistence is crucial to the public knowledge. A 2013 study inBMC 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.[8] The median lifespan of a Web page constitutes high-degree variable, but itsorder of magnitude usually is of some months.[9]

How hyperlinks work in HTML

A link from one domain to another is said to beoutbound from its source anchor andinbound to its target.

The most common destination anchor is aURL used in theWorld Wide Web. This can refer to a document, e.g. awebpage, or other resource, or to a position in a webpage. The latter is achieved by means of anHTML 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 afragment 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

Aweb browser usually displays a hyperlink in some distinguishing way, e.g. in a differentcolor,font orstyle, or with certain symbols following to visualize link target or document types. This is also calledlink decoration. The behavior and style of links can be specified using theCascading Style Sheets (CSS) language.

In a graphical user interface, the appearance of a mousecursor may change into ahand 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 theuser activates the link (e.g., by clicking on it with themouse) the browser displays the link's target. If the target is not an HTML file, depending on thefile type and on the browser and itsplugins, 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 orlink id

It uses theHTML element "a" with the attribute "href" (HREF is an abbreviation for "Hypertext REFerence"[10]) and optionally also the attributes "title", "target", and "class" or "id":

<a href="URL" title="link title">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 regularwindow, but in a specialhover 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 thestatus bar.

Normally, a link opens in the currentframe 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

Douglas Engelbart and his team atSRI, 1969

The term "link" was coined in 1965 (or possibly 1964) byTed Nelson at the start ofProject Xanadu. Nelson had been inspired by "As We May Think", a popular 1945 essay byVannevar Bush. In the essay, Bush described a microfilm-based machine (theMemex) 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 byAutodesk in the 1980s, it never created this proprietary public-access network. Meanwhile, working independently, a team led byDouglas Engelbart (withJeff Rulifson as chiefprogrammer) 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), withNLS.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 1988Communications of the ACM, which was cited as the source for the link concept inTim 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.[citation needed]

Released in 1987 for theApple Macintosh, the database programHyperCard allowed for hyperlinking between various pages within a document, as well as to other documents and separate applications on the same computer.[11] In 1990,Windows Help, which was introduced withMicrosoft Windows 3.0, had widespread use of hyperlinks to link different pages in a singlehelp 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 theGopher protocol from 1991. It was soon eclipsed by HTML after the 1993 release of theMosaic 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 framing

While hyperlinking among webpages is an intrinsic feature of theweb, some websites object to being linked by other websites; some have claimed that linking to them is not allowed without permission.

Contentious in particular aredeep links, which do not point to a site'shome 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, andinline 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.[12]

In certainjurisdictions, it is or has been held that hyperlinks are not merelyreferences orcitations, 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 merepublication 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' inTaiwan.[13]

In 2000,British Telecom suedProdigy, claiming that Prodigy infringed its patent (U.S. patent 4,873,662) on web hyperlinks. Afterlitigation, acourt found for Prodigy, ruling thatBritish Telecom's patent did not cover web hyperlinks.[14]

In United Statesjurisprudence, 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) orinfringing (e.g., illegal MP3 copies).[15] 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.[16][17][18] Linking to illegal or infringing content can be sufficiently problematic to give rise to legal liability.[19][20][21] Compare[22] for a summary of the current status of US copyright law as to hyperlinking, see the discussion regardingtheArriba Soft andPerfect 10 cases.

Somewhat controversially,Vuestar Technologies has tried to enforcepatents applied for by its owner, Ronald Neville Langford,[23] around the world relating to search techniques using hyperlinked images to otherwebsites or web pages.[24]

See also

References

  1. ^"hyperlink".Merriam-Webster. 2025-03-13.
  2. ^"Tabbed browsing".Computer Hope. Dec 31, 2020.Archived from the original on May 26, 2021. RetrievedJuly 26, 2021.
  3. ^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.
  4. ^"The Anchor element – HTML: HyperText Markup Language".Mozilla Developer Network.Archived from the original on 2022-08-30. Retrieved2021-10-13.
  5. ^"XML Linking Language (XLink) Version 1.0".W3C.Archived from the original on July 17, 2021. RetrievedJuly 26, 2021.
  6. ^"HTML, Web Browsers, and Other Paraphernalia". Archived fromthe original on July 4, 2013.
  7. ^"Definition of Permanent Link (Permalink)".techopedia.com.Archived from the original on November 1, 2018. RetrievedOct 31, 2018.
  8. ^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. RetrievedOct 30, 2018.
  9. ^"The Average Lifespan of a Webpage". November 8, 2011.Archived from the original on September 8, 2016. RetrievedOct 31, 2018.
  10. ^Tim Berners-Lee."Making a Server ("HREF" is for "hypertext reference")". W3C.Archived from the original on 2012-10-25. Retrieved2012-10-25.
  11. ^(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.
  12. ^SeeArriba 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.
  13. ^"The prosecution of Taiwan sexuality researcher and activist Josephine Ho"(PDF). Sex.ncu.edu.tw. Archived fromthe original(PDF) on February 8, 2012. Retrieved2012-10-25.
  14. ^CNET News.com,Hyperlink patent case fails to click. August 23, 2002.
  15. ^Cybertelecom:: Legal to Link?  TheInternet Archive. Retrieved June 11, 2012.
  16. ^Ford Motor Company v. 2600 Enterprises, 177 F.Supp.2d 661 (EDMi December 20, 2001)
  17. ^American Civil Liberties Union v. Miller, 977 F.Supp. 1228 (ND Ga. 1997)
  18. ^Ticketmaster Corp. v. Tickets.Com, Inc., No. 99-07654 (CD Calif. March 27, 2000)
  19. ^Intellectual Reserve v. Utah Lighthouse Ministry, Inc.Archived 2008-12-20 at theWayback Machine, 75 FSupp2d 1290 (D Utah 1999)
  20. ^Universal City Studios Inc v Reimerdes, 111 FSupp2d 294 (DCNY 2000)
  21. ^Comcast of Illinois X LLC v. Hightech Elec. Inc.Archived 2008-12-17 at theWayback Machine, District Court for the Northern District of Illinois, Decision of July 28, 2004, 03 C 3231
  22. ^Perfect 10 v. GoogleArchived 2008-12-17 at theWayback 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
  23. ^TelecomTV – TelecomTV One – NewsArchived 2008-12-23 at theWayback Machine
  24. ^All your Interwibble is belong to us, Silvie Barak,The Inquirer, 21 February 2009

Further reading

Command input
Data input-output
Informational
Containers
Navigational
Specialwindows
Related concepts
Authority control databases: NationalEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=Hyperlink&oldid=1280285208"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp