Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML area rel property

HTML rel property

HTML area Tag Reference HTML tag

Example

An image map with clickable areas

Planets

Sun

href="sun.htm" rel="alternate">

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the rel property


Definition and Usage

The rel attribute specifies the relationship between the current document and the linked document.


Differences between HTML 4.01 and HTML5

The rel property is new in HTML5 for the tag.


Syntax

Attribute values

Value Description
alternate An alternate version of the document (such as a print page, a translation, or a mirror).
author Links to the author of the document.
bookmark A permanent URL for bookmarking
help Links to a help document
license Links to the copyright information of the document.
next The next document in a collection
nofollow nofollow is an attribute value of an HTML tag. Its meaning is to tell search engines "do not follow the links on this page" or "do not follow this particular link."
noreferrer If the user clicks the link, the browser is instructed not to send the HTTP referer header.
prefetch The specified target file should be cached
prev The previous document in a collection
search The document links to a search tool
tag Tags (keywords) of the current document


HTML area Tag Reference HTML tag