Internal link

From Wikipedia, the free encyclopedia
  (Redirected from External links)
Jump to: navigation, search
For information about one more name of internal links in Wikipedia, see: Wikipedia:Free links. For information about external links in Wikipedia, see: Wikipedia:External links. For information about internal links in Wikipedia, see: Help:Link.

An internal link is a type of hyperlink on a webpage. Links are considered either "external" or "internal" depending on their target. Generally, a link to a page outside the same domain is considered external, whereas one that points at another section of the same webpage or to another page of the same website or domain is considered internal.[1]

However, these definitions become clouded when the same organization operates multiple domains functioning as a single web experience, e.g. when a secure commerce website is used for purchasing things displayed on a non-secure website. In these cases, links that are "external" by the above definition can conceivably be classified as "internal" for some purposes.

Similarly, seemingly "internal" links are in fact "external" for many purposes, for example in the case of linking among subdomains of a main domain, which are not operated by the same person(s). For example, a blogging platform, such as WordPress, Blogger or Tumblr host thousands of different blogs on subdomains, which are entirely unrelated and the authors of which are generally unknown to each other. In these contexts one might view a link as "internal" only if it linked within the same blog, not to other blogs within the same domain.

Examples[edit]

HTML[edit]

Make a header linkable:

<h1><a name="seealso">See also</a></h1>

Or:

<h1 id="seealso">See also</h1>

then link to it:

<a href="#seealso">Go to the see also section</a>

MediaWiki[edit]

To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already it is displayed in blue, if it does not, in red. Selflinks to the current page are not transformed in URLs but displayed in bold. (If you really want to link to the current page, use an anchor, or current page which always links to the top.)[2]

The first letter of the target page is automatically capitalized, unless otherwise set by the admins, and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text).

See also[edit]

References[edit]