---
title: "prev · Link relation · zhead"
canonical_url: "https://zhead.dev/link/prev"
last_updated: "2026-08-13T08:00:02.891Z"
meta:
  description: "Links to the previous logical document in a sequence, such as the preceding chapter or page of results."
  "og:description": "Links to the previous logical document in a sequence, such as the preceding chapter or page of results."
  "og:title": "prev · Link relation · zhead"
---

Link

# prev

Links to the previous logical document in a sequence, such as the preceding chapter or page of results.

## Code examples

Good example

```
<link rel="prev" href="/guide/chapter-1">
```

Points from the current chapter to the previous one in the sequence.

Avoid this example

```
<link rel="prev">
```

Has no href, so it does not identify the previous document.

## Recommendations

- 01 Link to the immediate previous item Keep the sequence unambiguous. The target should be the preceding document, not simply a parent or related page.
- 02 Treat it as semantics The HTML relation describes document order. Do not rely on it alone for crawling, indexing, or user navigation.

## Related documentation

- [HTML Living Standard: Links](https://html.spec.whatwg.org/multipage/links.html#link-type-prev)