Anchor.rev (Property)

A complementary description of the link to the current document as viewed from the document at the location specified by the URL.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myAnchor.rev

This is sometimes called a reverse link. It defines the relationship between a document and another that calls it. The linkage is defined from the destination document's viewpoint.

This property supports the same HTML version 4.0 standard link types as the rel property. Refer to that topic for details.

When used or tested within a script, any comparisons should be case insensitive.

Because rel and rev properties are complementary, the values in them are likely to be related. For example, if one contains the value "next" then the other is likely to contain "previous".

Refer to the Anchor.rel topic for a list of the available types you can use in this property.

See also:Anchor.rel, LINK.rev