Sets or retrieves the relationship between the object and the destination of the link.
dhtml语法
HTML | <ELEMENT REV
= sRelation... >
|
---|
Scripting | object.rev [ = sRelation ] |
---|
DHTML可能的值
sRelation | String that
specifies or receives one or more of the following space-delimited values, in any order:Alternate | Substitute version of the file that contains the link. | Appendix | Page that is an appendix for the set of pages. | Bookmark | Bookmark. | Chapter | Page that is a chapter for a set of pages. | Contents | Table of contents document. | Copyright | Copyright notice for the current page. | Glossary | Glossary for the current page. | Help | Help document. | Index | Index document for the current page. | Next | Next document in a sequence. | Prev | Previous document in a sequence. | Section | Page that is a section for a set of pages. | Start | First document of a set. | Stylesheet | Style sheet. | Subsection | Page 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.
是否符合公共标准
This property is defined in
HTML 3.2 and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To