Advertisement
Home Open Editor ❯

HTML <a> rel Attribute

Example

<a rel="nofollow" href="http://www.google.com/">Google</a>

Try this code ❯

Meaning

This attribute specifies the relationship of the target object to the link object.

Notes:


Standard Syntax

<a rel="value">


Advertisement

Attribute Values

Value Description
alternate Provides a link to an alternate representation of the document (print, translate etc...)
author Provides a link to the author of the document
bookmark Permanent URL is used for bookmark
external Specifies that the referenced document is not part of the same site as the current document
help Provides a link to a help document
license Provides a link to licensing information for the document
next Provides a link to the next document in the series
nofollow Specifies Link not to be follow (by search engines).
noopener The hyperlink must not have an opener browsing context
noreferrer It makes the link referrer unknown.
prev Specifies that this is previous document.
search A search tool for the document
tag Provide tag for the current document
Home Open Editor ❯
Advertisement