rev attribute | rev property
Sets or retrieves the relationship between the object and the destination of the link.
![]() |
Syntax
| HTML | <element rev="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
one or more of the following space-delimited values, in any order:-
Substitute version of the file that contains the link.
-
Page that is an appendix for the set of pages.
-
Bookmark.
-
Page that is a chapter for a set of pages.
-
Table of contents document.
-
Copyright notice for the current page.
-
Glossary for the current page.
-
Help document.
-
Index document for the current page.
-
Next document in a sequence.
-
Previous document in a sequence.
-
Page that is a section for a set of pages.
-
First document of a set.
-
Style sheet.
-
Page that is a subsection for a set of pages.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 12.2
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.
See also
