Link Relationships
HTML rel="bookmark"
Marks a stable link to the nearest article or section context. Use a durable URL rather than a temporary session link. Use on a or area for the permanent address of the article or section associated with the link. It differs from canonical, which identifies a preferred document URL. The example path requires a corresponding page.
Formal Syntax & Structure
html syntaxhtml
<a rel="bookmark" href="/articles/42">Permanent article link</a>Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| rel | space-separated relationship tokens | Include bookmark in the space-separated relationship tokens. Use on a or area. |
| href | URL or fragment | Identifies the linked destination or resource. |
Working Example
Example Snippethtml
<a rel="bookmark" href="/articles/42">Permanent article link</a>