Typed link
From Wikipedia, the free encyclopedia
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.
Present HTML supports typed links from whole documents to whole documents with the <link>
tag. 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. There is also the rev
erse attribute. The HTML standard states that both rel
and rev
can be added to the <a>
tag, as well.
The World Wide Web Consortium has defined the following link types for HTML[1]:
- 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 "nofollow".[2]
[edit] References
- ^ Basic HTML data types. W3C HTML 4 Recommendation (1999-12-24).
- ^ Preventing comment spam. Google Blog (2005-01-18).
[edit] External links
- Link relationships. HTML 4.01 Specification. W3C.