REV Attribute | rev

HTML (DHTML)

REV Attribute | rev Property

Internet Development Index

Sets or retrieves the relationship between the object and the destination of the link.

Syntax

HTML<ELEMENT REV = sRelation... >
Scriptingobject.rev [ = sRelation ]

Possible Values

sRelationString that specifies or receives one or more of the following space-delimited values, in any order:
AlternateSubstitute version of the file that contains the link.
AppendixPage that is an appendix for the set of pages.
BookmarkBookmark.
ChapterPage that is a chapter for a set of pages.
ContentsTable of contents document.
CopyrightCopyright notice for the current page.
GlossaryGlossary for the current page.
HelpHelp document.
IndexIndex document for the current page.
NextNext document in a sequence.
PrevPrevious document in a sequence.
SectionPage that is a section for a set of pages.
StartFirst document of a set.
StylesheetStyle sheet.
SubsectionPage that is a subsection for a set of pages.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The rev property is similar to the rel property, but the semantics of these two properties' link types are in the reverse direction. For example, a link from A to B with REL="X" expresses the same relationship as a link from B to A with REV="X". An anchor can have both rel and rev properties.

Standards Information

This property is defined in HTML 3.2 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

A, LINK