ToC ~ Up ~ Prev ~ Next ~ Index Introduction to HTML
Last Update: 5 January 1998

4.13.4 REV Attribute

At present REV and REL are rarely used. However, they will be of growing importance as HTML documents, and the document development environments, become more sophisticated.

The REV attribute is used to give the relationship(s) described by the hypertext link, and describes the relationship of the document containing the anchor to the destination of the link to -- consequently REL cannot be used unless an HREF is present. The value for REV is a space-separated list of relationship values. For example

   <A HREF="http://foo.edu/fe.html" REV="index">sdfsddf</a>

indicates that the the document containing this anchor element is an index related to the document fe.html.

REL is the converse of REV. Thus an anchor of the form

   <A HREF="http://foo.edu/fe.html" REL="index">sdfsddf</a>

indicates that the the document fe.html is an index related to the document containing this hypertext anchor.

REL and REV Attribute Values

Some proposed values the relationships and their semantics are were defined in a working document by Murray Maloney of Veosystems Inc. Some information on these proposed values is found in word-processor format document, accessible from this Web site. Please see the page: http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/contents.html, and the top item on the page.


ToC ~ Up ~ Prev ~ Next ~ Index Introduction to HTML
© 1994-1998 by Ian Graham
Last Update: 5 January 1998