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

NameTypeDescription
relspace-separated relationship tokensInclude bookmark in the space-separated relationship tokens. Use on a or area.
hrefURL or fragmentIdentifies the linked destination or resource.

Working Example

Example Snippethtml
<a rel="bookmark" href="/articles/42">Permanent article link</a>
HTML Reference