A rel="prev"
attribute value on a link specifies that the linked page is the previous page of the current page.
This can be used for articles, galleries, news, and other page in a series of pages.
A rel="prev"
on an <a> element.
This link opens the previous page in a list of pages.
Go back to the <a rel="prev" href="/html/rel/license">previous page</a>
The rel attribute defines the relationship between the current page and the linked page.
The rel="prev"
value specifies that the linked page is the previous page of the current page.
This value is for content that needs pagination for a list of articles, topics, blog entries, etc.
<tagname rel="prev" />
These elements accept the prev value on the rel attribute.
Elements | Description | |
---|---|---|
<a> | Specifies an anchor link -- see example above | |
<area> | Creates clickable areas inside an image map. | |
<form> | Specifies an HTML form. | |
<link> | Links a resource to the current page |
The rel attribute value can greatly affect search engine optimization.
This value helps search engine in identifying that the page belongs to a series and get relevant content.
Search engines put highest ranking on the first page recognized from the series.
This avoids duplicate content issue on different pages within the series.
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 |