rel-up: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(a browser that supports it by default?! crazy, right?)
(added short description, example (the wiki doesn’t let me post an external link, so I put the URL into <nowiki> tags))
Line 1: Line 1:
{{stub}}
{{stub}}
== Description ==
Refers to a parent document in a hierarchy of documents.
== Example ==
A page (<nowiki>https://prlbr.de/galerie/14/am-pranger/</nowiki>) in a photo gallery showcases a photo. The page defines multiple link relations which refer to the
* '''next''' page which contains the next photo from the gallery
* '''prev'''ious page from the gallery
*  parent page using '''up''', which shows previews of many photos as thumbnails including the current one and includes links to their corresponding pages.
<source lang=html4strict>
<link rel='next' href='/galerie/14/mustergatte/'>
<link rel='prev' href='/galerie/14/linie-1/'>
<link rel='up' href='/galerie/seite-6'>
</source>
''next'' and ''prev'' relate to documents on the same hierarchy level while ''up'' moves one level up.


== Implementations ==
== Implementations ==

Revision as of 14:19, 20 June 2018

This article is a stub. You can help the microformats.org wiki by expanding it.

Description

Refers to a parent document in a hierarchy of documents.

Example

A page (https://prlbr.de/galerie/14/am-pranger/) in a photo gallery showcases a photo. The page defines multiple link relations which refer to the

  • next page which contains the next photo from the gallery
  • previous page from the gallery
  • parent page using up, which shows previews of many photos as thumbnails including the current one and includes links to their corresponding pages.
<link rel='next' href='/galerie/14/mustergatte/'>
<link rel='prev' href='/galerie/14/linie-1/'>
<link rel='up' href='/galerie/seite-6'>

next and prev relate to documents on the same hierarchy level while up moves one level up.

Implementations

See Also