HBCMS更多的中文手册参考:

REL Attribute | rel参数属性

DHTML文档教程

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

dhtml语法

HTML<ELEMENT REL = sRelation... >
Scriptingobject.rel [ = sRelation ]

DHTML可能的值

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.
Offlinehref that contains a path to the cdf file to be used for an offline favorite.
prevprevious document in a sequence.
sectionpage that is a section for a set of pages.
shortcut iconhref that contains a path to an icon file to be used for the favorite or link.
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

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 microsoft® 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.

是否符合公共标准

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

更多语法参考

How to Add a Shortcut Icon to a Web Page