Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML <a> rev Attribute

  • Last Updated : 17 Jun, 2021

The HTML <a> rev attribute is used to define the relationship between the linked document and the current document. This attribute is reversed of HTML rel attribute. It is not supported in HTML5. 

Syntax:

<a rev="value">

Attribute values:

  • alternate: It defines an alternative version of the document i.e print page, translates, or mirror.
  • stylesheet: It defines an external sheet for a document.
  • start: It defines the first document in a selection.
  • next: It defines the next document in a selection.
  • prev: It defines a previous document in a selection.
  • contents: It defines a table of contents for a document.
  • index: It defines an index for the document.
  • glossary: It defines an explanation of words used in the document.
  • copyright: It defines a document that contains a piece of copyright information.
  • chapter: It specifies the chapter of a document.
  • section: It defines a section of a document.
  • subsection: It specifies a subsection of a document.
  • appendix: It specifies an appendix for the document.
  • help: It specifies a help document.
  • bookmark: It specifies a related document.
  • nofollow: It is used by Google, to specify that the Google search spider should not follow that link and mostly used for paid links.
  • license: It defines copyright information for the document.
  • tag: It specifies a tag keyword for the current document.

Example: 

HTML




<!DOCTYPE html>
<html>
  
<body>
    <center>
    <h2>
        GeeksForGeeks
    </h2>
    <h2>
        HTML Anchor rev Attribute
    </h2>
    <p>Welcome to
        <a rev="start"
           href="https://ide.geeksforgeeks.org/">
           GeeksforGeeks
        </a>
    </p>
  
</body>
  
</html>

Output:

Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!