The rel attribute on an <area> element defines the relationship between the current page and the linked page or resource.
Possible values include: nofollow
, noopener
, noreferrer
and others.
Multiple relationships can be defined by space-separating the values.
A rel attribute on an <area> tag. The monitor area (in the image) is linked to a page that is not endorsed by the current site.
<img src="/img/html/computer-map.png" alt="Computer" usemap="#computermap">
<map name="computermap">
<area rel="external nofollow"
href="https://www.google.com/search?q=monitor"
shape="rect"
coords="253,142,16,2"
alt="monitor"
target="_blank">
</map>
The rel attribute defines the relationship between the current page and the linked page or resource.
<tagname rel="nofollow | noopener | noreferrer | external | author | help | license | prev | next | bookmark | search | alternate | tag" />
Value | Description |
---|---|
nofollow | Specifies the link is not endorsed or is not controlled by the current page's author. Search engines often ignore links flagged as nofollow. |
noopener | No context or information about the current page is sent to the linked page. Used for untrusted links to avoid tampering with the current page. |
noreferrer | Prevents the browser from sending referrer data about the current page. |
external | Indicates the link is to a page outside the current site (different domain). Applies to: a, area, form |
author | Specifies the link it to a page about the current page's author. |
help | Specifies the link is to a help page. |
license | Specifies the link is to a page with licensing information. |
prev | Specifies the previous page in a series of pages. |
next | Specifies the next page in a series of pages. |
bookmark | Indicates the link is a permalink that can be used for bookmarking. |
search | Specifies the link is to a search page for the current page. |
alternate | Specifies the link is to an alternative version of the page. For example, a different device type, or other language version. |
tag | Specifies a tag keyword for the current page, i.e. a word that identifies the current page. |
Here is when rel support started for each browser:
Chrome
|
1.0 | Sep 2008 |
Firefox
|
1.0 | Sep 2002 |
IE/Edge
|
1.0 | Aug 1995 |
Opera
|
1.0 | Jan 2006 |
Safari
|
1.0 | Jan 2003 |