HTML | <a> rel Attribute (original) (raw)

Last Updated : 6 May, 2025

The **rel attribute is used to specify the relationship between the current and the linked document. It is used only when the href attribute is present.

**Syntax:

**Attribute Values:

**Example:

html `

HTML a rel Attribute

Welcome to GeeksforGeeks

`

**Output:

Rel

Rel Attribute

**Supported Browsers: The browser supported by _HTML rel Attribute are listed below: