It would be really nice if all the next/prev links at the bottom of SO pages had rel=next / rel=prev on them, for use with browsers like Opera or the Firefox extensions that support this format for nice keyboard shortcuts :)

  • 5
    Who uses Opera anyway?
    – random
    Dec 26, 2009 at 11:56
  • 3
    Some random guy from Australia. Dec 26, 2009 at 12:55
  • 2
    I think the 3 people in the world using Opera can rough it.
    – Sam Becker
    Dec 26, 2009 at 15:49
  • 2
    You shouldn't think that way. Maybe this feature is included in other browsers soon.
    – Midas
    Dec 28, 2009 at 13:57

1 Answer 1


What is the correct syntax here? Where is this documented in the HTML 4.01 spec?

Ah, found it:


  <TITLE>Chapter 2</TITLE>
  <LINK rel="Index" href="../index.html">
  <LINK rel="Next"  href="Chapter3.html">
  <LINK rel="Prev"  href="Chapter1.html">
...the rest of the document...

but wait -- only the oddball <link> tag? Does this syntax work for hyperlinks?

<a href="http://example.com" rel="next">

That's easiest, anything else and this is not worth doing.

edit: the op specifically said

all the next/prev links at the bottom of SO pages had rel=next / rel=prev on them

We already do rel="tag" on links that are tags, so I am going to do the same for the pagination next and previous links.

  • Nope, just in the LINK tag.
    – random
    Dec 28, 2009 at 10:51
  • 1
    You can find a list of all link types here: w3.org/TR/html401/types.html#type-links Dec 28, 2009 at 13:21
  • FTR it's very much allowed on <a> tags, and many tools support that. I think Opera itself may have a bug in that it only supports <link>, though
    – singpolyma
    May 8, 2011 at 17:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .