YouTip LogoYouTip

Att Link Rev

## HTML <link> rev Attribute The `rev` attribute of the `` tag specifies a reverse relationship between the linked document and the current document. --- ## Definition and Usage * **Deprecated:** The `rev` attribute is **obsolete in HTML5** and should not be used in modern web development. * **Functionality:** The `rev` attribute defines the relationship of the destination document to the source document (the reverse of the `rel` attribute). For example, if `rel="next"` indicates that the linked document is the next page, `rev="next"` would indicate that the current document is the next page relative to the linked document. * **Modern Alternative:** To define relationships between documents, use the standard `rel` attribute instead. --- ## Syntax ```html ``` --- ## Attribute Values | Value | Description | | :--- | :--- | | `alternate` | An alternate version of the document (e.g., a print page, translation, or mirror). | | `stylesheet` | An external stylesheet for the document. | | `start` | The first document in a collection. | | `next` | The next document in a collection. | | `prev` | The previous document in a collection. | | `contents` | A table of contents for the document. | | `index` | An index for the document. | | `glossary` | A glossary (explanation of terms) used in the document. | | `copyright` | A document containing copyright information. | | `chapter` | A chapter of the document. | | `section` | A section of the document. | | `subsection` | A subsection of the document. | | `appendix` | An appendix to the document. | | `help` | A help document. | | `bookmark` | A related bookmark document. | --- ## Code Examples ### Legacy Usage Example In the example below, the `rev` attribute indicates that the current document is the parent page of the linked document `"wildcats.htm"`: ```html Example Page

This is an example of the legacy rev attribute.

``` --- ## Browser Support and Considerations | Chrome | Edge/IE | Firefox | Safari | Opera | | :---: | :---: | :---: | :---: | :---: | | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | ### Key Considerations: 1. **No Browser Support:** Virtually no modern web browsers support or interpret the `rev` attribute. 2. **HTML5 Conformance:** The `rev` attribute was officially dropped in HTML5. Using it will cause your HTML markup to fail modern W3C validation. 3. **Best Practice:** Always use the `rel` (relationship) attribute to define document relationships. For example, instead of using `rev="parent"`, define the relationship from the child document using ``.
← Att Link SizesAtt Link Rel β†’