What is a title tag?
The title tag is the title element in the head of an HTML page. It is shown in the browser tab, in bookmarks and in link previews, and search engines use it as the main input for the blue headline of a result, which Google calls the title link.
It is the single most visible piece of on-page SEO: the first thing a searcher reads about your page and often what decides the click.
Does Google always show your title tag?
No. Google's documentation says it uses several sources to determine the title link automatically, including the title element, the main visual title, heading elements and other prominent text. When a title is missing, stuffed with keywords, or repeated across many pages, Google is more likely to write its own.
How long should a title tag be?
Google says there is no limit on the length of a title element, and that the title link is truncated in results as needed, typically to fit the device width. As a rule of thumb, titles of roughly 50 to 60 characters usually display in full on desktop. Put the words that matter at the front so a cut does no harm.
How to write a good title tag
- Give every page a title, and make each one different.
- Describe the page specifically. "Home" and "Products" say nothing.
- Lead with the topic the searcher typed, in natural wording.
- Do not repeat words. Google names keyword stuffing in titles as something that looks like spam to users and to its systems.
- Brand concisely, with the site name at the start or end after a separator.
- Keep it honest. The page must deliver what the title promises.
Title tag vs H1
| Title tag | H1 | |
|---|---|---|
| Where it shows | Search results, browser tab, link previews | On the page itself |
| Reader | Someone deciding whether to visit | Someone who has arrived |
| Usual shape | Compact, keyword first, brand at the end | Can be longer and more conversational |
They can be identical. They should at least agree, since Google looks at the main heading when it builds the title link.