HTML <area> rel attribute
Definition and Usage
rel
The attribute specifies the relationship between the current document and the linked document.
only exists href attribute at the same time.
Example
Use the rel attribute to specify the relationship between the current document and the linked document:
<map name="planetmap"> <area shape="rect" coords="0,0,114,576" alt="Sun" href="sun.html" rel="alternate"> </map>
Syntax
<area rel="value">
Attribute Value
Value | Description |
---|---|
alternate | Provide a link to the document's alternative representation (e.g., print page, translation, or mirror). |
author | Provide a link to the document author. |
bookmark | Permanent URL for bookmarks. |
help | Provide a link to the help document. |
license | Provide a link to the document license information. |
next | Provide a link to the next document in the series. |
nofollow |
Links to unverified documents, such as paid links. (Google uses 'nofollow' to specify that Google's search spider should not follow the link) |
noreferrer | Make the referrer unknown. When the user clicks on a hyperlink, the referrer header will not be included. |
prefetch | Specifies that the target document should be cached. |
prev | Select the previous document. |
search | Link to the document search tool. |
tag | Tags (keywords) of the current document. |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |