Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Hyperlink
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==={{Anchor|Anchor}}Anchor links===<!--Retain the anchor in this heading; anchor links to this section exist elsewhere.--> 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 [[wikt:fragment#English: internet|fragment]]. The fragment is generally a portion of text or a heading, though not necessarily. For instance, it may also be a [[Screen hotspot|''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 <code><anchor id="name" />"</code> provides anchoring capability (as long as the [[Document type definition|DTD]] or schema defines it), and in [[wiki markup]], <code><nowiki>{{anchor|name}}</nowiki></code> is a typical example of implementing it<!--which is how en.Wikipedia's implementation of MediaWiki provides it-->. In [[word processor]] apps, anchors can be inserted where desired and may be called ''bookmarks''<!--which is what Microsoft Word calls them-->. 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 [[Politics of Africa|political map of Africa]] may have each country hyperlinked to further information about that country. A separate invisible hot area interface allows for swapping [[Skin (computing)|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.<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>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)