asp.net.ph

Skip Navigation Links

REL Attribute | rel Property

Language References


HTML 5

Sets or retrieves the relationship(s) described by the hypertext link from the anchor to the target.

Syntax


Inline <element rel = 'Alternate' || 'Stylesheet' || 'Start' || 'Next' || 'Prev' || 'Contents' || 'Index' || 'Glossary' || 'Copyright' || 'Chapter' || 'Section' || 'Shortcut Icon' || 'Subsection' || 'Appendix' || 'Help' || 'Bookmark' || 'Offline'...>
Script object.rel = sStylesheet ]

Possible Values


Alternate Denotes a substitute version of the file containing the link.
Stylesheet Refers to a stylesheet.
Start Denotes the first document of a set.
Next Denotes the next document in a sequence.
Prev Denotes the previous document in a sequence.
Contents Denotes a table of contents document.
Index Refers to an index document for the current page.
Glossary Refers to a glossary for the current page.
Copyright Refers to a copyright notice for the current page.
Chapter Indicates a page is a chapter for a set of pages.
Section Indicates a page is a section for a set of pages.
Shortcut Icon Indicates the href contains a path to an icon file to be used for the favorite or link.
Subsection Indicates a page is a subsection for a set of pages.
Appendix Refers to a page that is an appendix for the set of pages.
Help Refers to a Help document.
Bookmark Denotes a bookmark.
Offline Indicates the href contains a path to the CDF file to be used for an offline favorite.

The property is read/write with no default value.

Remarks

The value is a comma-separated list of the preceding forward relationship values. The default relationship, if none other is given, is void. The rel property is used only when the href property is present.

Shortcut Icon, and Offline only apply to the LINK object.

The Offline possible value is available as of Internet Explorer® 5 and later.

Applies To

A, LINK



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note