HTML <area> rel Attribute

The rel attribute of the element is used to set the relationship between the current document and the linked document. This attribute introduced in HTML5 for the element. 

Following is the syntax ?

Above, value can be any of the following options that links to ?

  • alternate: An alternate version of the document, for example, to print.
  • author: Author of the document
  • bookmark: Permanent URL used for bookmarking
  • help: Help document
  • license: Copyright information
  • next: Next document in a selection
  • nofollow: Links to a link which you do not want that the Google indexing to follow that link.
  • noreferrer: Specifies that the browser should not send a HTTP referer header if the user follows the hyperlink
  • prefetch: Specifies that the target document should be cached
  • prev: Previous document in a selection
  • search: Links to a search tool for the document
  • tag: A tag for the current document

Let us now see an example to implement the rel attribute of the element ?

Example



Learning

Learn these technologies with ease....

usemap    Perl Tutorial    HTML Tutorial    PHP Tutorial

Output

In the above example, we have set the map on the following image ?

usemap

Now, we have set the map and area within it for shape ?


   Perl Tutorial
   HTML Tutorial
   PHP Tutorial

Above, we have set the relationship for the alternate version ?

rel="alternate"
Updated on: 2026-03-11T22:50:44+05:30

150 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements