HTML <area> rel Attribute
Example
<img src="desk.jpg" usemap="#image-map">
<map name="image-map">
<area rel="next" target="_blank" alt="Computer" href="computer.png" coords="112,31,285,246" shape="rect">
<area rel="next" target="_blank" alt="Cup" href="cup.png" coords="327,212,31" shape="circle">
<area rel="next" target="_blank" alt="Mobile" href="mobile.png" coords="296,121,326,176" shape="rect">
<area rel="next" target="_blank" alt="Book" href="book.png" coords="53,132,115,157,72,237,2,211" shape="poly">
</map>
Meaning
The rel attribute specifies the relationship of the target object to the link object.
Notes:
- Only used if the href attribute is exist.
- Used for SEO purpose also.
The default relationship, if no other is given, is void.
Standard Syntax
<area 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 |