NICE FAQ Script

PHP FAQ / Knowledgebase / Articles Script

  
Article Related Options
FAQ Home Refer To a Friend Add your comments Print this Article Post Query
Other link relationships

By far the most common use of a link is to retrieve another Web resource, as illustrated in the previous examples. However, authors may insert links in their documents that express other relationships between resources than simply "activate this link to visit that related resource". Links that express other types of relationships have one or more link types specified in their source anchor.

The roles of a link defined by A or LINK are specified via the rel and rev attributes.

For instance, links defined by the LINK element may describe the position of a document within a series of documents. In the following excerpt, links within the document entitled "Chapter 5" point to the previous and next chapters:

<HEAD>
...other head information...
<TITLE>Chapter 5</TITLE>
<LINK rel="prev" href="chapter4.html">
<LINK rel="next" href="chapter6.html">
</HEAD>

The link type of the first link is "prev" and that of the second is "next" (two of several recognized link types). Links specified by LINK are not rendered with the document's contents, although user agents may render them in other ways (e.g., as navigation tools).

Even if they are not used for navigation, these links may be interpreted in interesting ways. For example, a user agent that prints a series of HTML documents as a single document may use this link information as the basis of forming a coherent linear document. Further information is given below on using links for the benefit of search engines.

 
 User Comments
   
There are no comments posted for this article. Click here to become first one to post a comment.
 
 
Additional Info
 
 
 Article # 632
 Posted on 19-11-2008
 Viewed 271 times
 
Save as HTML Save as HTML
Add as Favorites Add as Favorites
Notify on Update Notify on Update
 
 Attachments
 
 None
 
 
 Did this help you?
Yes 
No 
 
 
 Related Articles
 
 None
 
 
SHARE IT: