HTML <form> rel Attribute
Example
<form rel="search" action="action.php">
<input type="search" name="search">
<input type="submit" value="Submit">
</form>
Meaning
The rel attribute specifies the relationship between the current document and the linked document.
It creates a hyperlink or annotation depending on the value.
Standard Syntax
<form rel="value">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| external | Specifies the referenced document is not a part of the current site. |
| help | Specifies the links to a help the document. |
| license | Specifies the links to copyright information for the document. |
| next | Specifies the next document in a selection |
| nofollow | Specifies the nofollow document in a selection |
| noopener | Specifies the noopener document in a selection |
| noreferrer | Specifies the noreferrer document in a selection |
| opener | Specifies the opener document in a selection |
| prev | Specifies the previous document in a selection |
| search | Specifies the search document in a selection |