Easy Tutorial
❮ Att Global Dropzone Canvas Getimagedata ❯

HTML <a> rel Attribute

HTML <a> Tag

Example

Link using the rel attribute:


Browser Support

All major browsers support the rel attribute.

Note: Although browsers do not use this attribute in any way, search engines can use it to gain more information about the link.


Definition and Usage

The rel attribute of the <a> tag specifies the relationship between the current document and the linked document.

The rel attribute can only be used if the href attribute is present.


Differences Between HTML 4.01 and HTML5

Some values were removed and new values were added.


Syntax

Attribute Values

Value Description
alternate Alternate version of the document (e.g., print page, translated page, or mirror).
stylesheet External style sheet for the document.
start First document in a collection.
next Next document in a collection.
prev Previous document in a collection.
contents Table of contents for the document.
index Index of the document.
glossary Glossary or explanation of terms used in the document.
copyright Document containing copyright information.
chapter Chapter of the document.
section Section of the document.
subsection Subsection of the document.
appendix Appendix of the document.
help Help document.
bookmark Related document.
nofollow Google uses "nofollow" to specify that Google search engine should not follow the link.
licence
tag
friend

HTML <a> Tag

❮ Att Global Dropzone Canvas Getimagedata ❯