Sets or retrieves the relationship(s) between the object and the destination of the link.
Syntax
HTML <ELEMENT REL = sRelation ... > Scripting object.rel [ = sRelation ]
Possible Values
sRelation String that specifies one or more of the following comma-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 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. Offline href containing a path to the CDF file to be used for an offline favorite. Prev Previous document in a sequence. Section Page is a section for a set of pages. Shortcut Icon href containing a path to an icon file to be used for the favorite or link. Start First document of a set. Stylesheet Style sheet. Subsection Page is a subsection for a set of pages. The property is read/write with no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
If no values are indicated, the rel property's default relationship is an empty string. This property is used only when the href property is applied.
The Shortcut Icon and Offline values apply only to the LINK object.
The Offline value is available in Internet Explorer 5 and later. For more information about CDF files and offline favorites, see Enhancing Offline Favorites.
The rel property is similar to the rev 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.
Applies To
A, LINK