Typed link
This article may be confusing or unclear to readers. Please help clarify the article; suggestions may be found on the talk page. (February 2009) |
It has been suggested that this article or section be merged with [[::Semantic link| Semantic link ]]. (Discuss) |
A typed link in a hypertext system is a link to another document or part of a document that includes information about the character of the link. For example, rather than merely pointing to the existence of a document, a link might also specify that the document supports the conclusion of the article pointing to it, that it contradicts the article pointing to it, that it is an older version of the document, that it serves to define the word next to the link, that it is an index to other documents of the same type, or some other relationship. This allows a user to take actions such as searching only certain types of links or displaying them differently. It may also allow browsing software to do things like pre-fetching documents it expects the user to browse.
While not an important part of Internet-based hypertext systems, typed links were a common feature in pre-Internet hypertext systems such as Xanadu, NoteCards, HyperWriter, IBIS/gIBIS, and others. Although they can be very useful, the lack of a standardized set of link attributes such as "Supports Position"/"Refutes Position" as well as the difficulty of applying the attributes has always hindered the use of typed links beyond prototyping purposes. Any system of attributes would turn a hypertext corpus into a semantic web, and permit more sophisticated processing.
Version 4 of the HTML standard defined by the World Wide Web Consortium supports typed links using the rel
(forward relationship) and rev
(reverse relationship) attributes.[1] These attributes are applied to either the
<link>
tag (for links between whole documents) or the <a>
tag (for links from a specific part of a document). For example, the tag <link rel="contents" href="top.html">
specifies that the document "top.html" is a table of contents for the work that includes the document you are currently reading, and the tag <link rel="next" href="chap3.html">
specifies that "chap3.html" is the next document in logical sequence after the one you are reading.
The following link types are defined in the HTML 4 standard[2]:
- alternate
- stylesheet
- start
- next
- prev
- contents
- index
- glossary
- copyright
- chapter
- section
- subsection
- appendix
- help
- bookmark
Unofficial link types also exist. For example, Google has proposed to reduce the effect of comment spam in blogs with "rel=nofollow".[3]
References
- ↑ http://www.w3.org/TR/html4/struct/links.html#h-12.1.2
- ↑ "Basic HTML data types". W3C HTML 4 Recommendation. 1999-12-24. http://www.w3.org/TR/html4/types.html#type-links.
- ↑ "Preventing comment spam". Google Blog. 2005-01-18. http://googleblog.blogspot.com/2005/01/preventing-comment-spam.html.
External links
- "Link relationships". HTML 4.01 Specification. W3C. http://www.w3.org/TR/html4/struct/links.html#h-12.1.2.
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...