Link Object
The rel property sets or returns a space-separated list that defines the relationship between the current document and the linked document.
Set the rel property:
Return the rel property:
The supported relationship values are:
| Value | Description |
|---|---|
| alternate | Linked page is an alternative version of the current document |
| appendix | Linked page is the appendix page for the current document |
| bookmark | Refers to a bookmark |
| chapter | Refers to a chapter |
| contents | Linked page is the table of contents for the current document |
| copyright | Linked page is the copyright/policy for the current document |
| glossary | Linked page is the glossary page for the current document |
| help | Linked page is the help page for the current document |
| index | Linked page is the index page for the current document |
| next | Refers to the next page |
| nofollow | The linked page should not influence the current document's ranking in search engine's index |
| offline | Refers to a location that contains a path to the CDF file |
| prev | Refers to the previous page |
| search | Refers to an XML file in OpenSearch description format |
| section | Link to a section in a list of documents |
| shortcut icon | Refers to an icon location |
| sidebar | Refers to the bookmark panel |
| start | Refers to the first page (used by search engines to show the first page) |
| stylesheet | Linked page is the style sheet for the current document |
| subsection | Linked page is a subsection for the current document |
![]()
The rel property is supported in all major browsers.
Note: The value "search" is not supported in Opera or Safari.
Note: The value "sidebar" is
not supported in IE, Safari, or Chrome.
Display the relationship between the current document and the linked document:
Link Object
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The HTML5 Certificate documents your knowledge of advanced HTML5.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
Your message has been sent to W3Schools.