Dofactory.com
Dofactory.com
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

HTML rel="bookmark"

A rel="bookmark" attribute value specifies that the linked page is a permalink.

It is used for bookmarking the nearest <article> or <section> on the page.

Example

#

A rel="bookmark" on an <a> tag.
This link represents a permalink to the article above it.

The time in Arles, France became one of Van Gogh's more prolific periods: he completed 200 paintings and more than 100 drawings and watercolors. He was enchanted by the local countryside and light; his works from this period are rich in yellow, ultramarine, and mauve.
Permalink: Van Gogh #
<article>
   The time in Arles, France became one of Van Gogh's more 
   prolific periods: he completed 200 paintings and 
   more than 100 drawings and watercolors. He was 
   enchanted by the local countryside and light; 
   his works from this period are rich in yellow, 
   ultramarine, and mauve.<br />

   Permalink: <a rel="bookmark" href="/html/rel/bookmark" 
                 target="_blank">Van Gogh #</a>
</article>

Using rel="bookmark"

The rel attribute defines the relationship between the current page and the linked page or resource.

The rel="bookmark" value specifies the permalink (permanent URL) used for bookmarking.

The link bookmarks the nearest ancestor <article> or <section>

A title value can be added to provide a title to the bookmark link.


Syntax

<tagname rel="bookmark" />

Elements that accept rel="bookmark"

These elements accept the bookmark value on the rel attribute.

Elements Description
<a> Specifies an anchor link -- see example above
<area> Creates clickable areas inside an image map.

Browser support

Here is when rel support started for each browser:

Chrome
6.0 Sep 2010
Firefox
4.0 Mar 2011
IE/Edge
12.0 Jul 2015
Opera
11.1 Mar 2011
Safari
5.0 Jun 2010

You may also like


Last updated on Sep 30, 2023

Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

Guides