Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Link rev Property

Link rev Property

Link Object Reference Link Object


Definition and Usage

The rev attribute specifies the relationship between the linked document and the current document.

Syntax

Set the rev attribute:

linkObject.rev="

relationship

"

Return the rev attribute:

linkObject.rev

Attribute values:

Value Description
alternate An alternate version of the document (such as a print page, a translation, or a mirror).
stylesheet An external style sheet for the document.
start The first document in a collection.
next The next document in a collection.
prev The previous document in a collection.
contents The table of contents of the document.
index The index of the document.
glossary A glossary (explanation) of terms used in the document.
copyright A document containing copyright information.
chapter A chapter of the document.
section A section of the document.
subsection A subsection of the document.
appendix An appendix of the document.
help A help document.
bookmark A related document.

Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the rev attribute


Link Object Reference Link Object