---
title: "Give every page its own title · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/html-basics/title
updated: 2026-10-20
licence: "All rights reserved"
---

# Give every page its own title

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Required
- Chapter: [HTML basics](https://agentwranglers.se/playbook/website/html-basics)
- Rule: Give every page exactly one unique, non-empty `<title>`, sent by the server. Put the page's name first and the site name last, in 60 characters at most.
- How: Build titles from page data as `Page name · Site name`. Fail the build on a missing, repeated or too-long title. Render it on the server, not in JavaScript.
- Check: A build gate counts exactly one `<title>` per page, at most 60 characters, and no two pages with the same title.

Example:

```html
<title>Pricing · Example</title>
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/html-basics/title`.

- Previous: [Keep the HTML valid](https://agentwranglers.se/playbook/website/html-basics/valid-html)
- Next: [Write a summary for search results](https://agentwranglers.se/playbook/website/html-basics/meta-description)
- [HTML basics](https://agentwranglers.se/playbook/website/html-basics)
