What Is a Title Tag? Writing Page Titles for Search

The name of a web page, written in its HTML. Browsers show it in the tab, and search engines often use it as the clickable headline of the result.

What a title tag is

MDN Web Docs says the title element "defines the document's title that is shown in a browser's title bar or a page's tab." It sits in the page's HTML, not on the page itself, and each page has one.

MDN adds that the contents of a page title can have significant implications for search engine optimization (SEO).

Title tags and Google's title links

Google calls the clickable headline of a search result a title link. Its documentation lists where that text can come from, including:

  • The page's title element.
  • The main visual title shown on the page.
  • Headings, such as the page's h1.
  • The og:title tag used for sharing.
  • Other text on the page, and the text of links pointing to it.

Google says it can't manually change title links for individual sites. It may show a different one when the title element is half-empty, out of date, in a different language from the page, or competes with several equally prominent headings.

How to write a good title

  • Make it unique, so each page can be told apart from the others.
  • Make it descriptive and concise. Google advises against vague titles like "Home."
  • Don't stuff keywords. Google says repeating the same words or phrases looks spammy.
  • Brand it briefly: put your business name at the start or end, set off with a hyphen, colon or pipe.

For a local business page, a pattern like [service] in [town] - [business name] covers what you do, where and who you are.

How long a title can be

Google says there's no limit on how long a title element can be, but title links are cut off as needed, typically to fit the device width. MDN says search engines typically display about the first 55 to 60 characters of a page title, so put what matters most first.

Title tags in Captivite

  • On a website made in Captivite, the page's title is your headline, led by your business name unless the headline already says it: [business name] — [headline].
  • The same title goes in the page's sharing tags, so a link you text or post previews your business rather than Captivite.
  • The headline can be up to 120 characters.

Questions

Is the title tag the same as the H1 heading?

No. The title tag is in the page's HTML and shows in the browser tab; the h1 is the main heading on the page. Google lists both among the sources it uses for title links.

How long should a title tag be?

Google sets no limit but cuts title links to fit the device. MDN says search engines typically show about the first 55 to 60 characters.

Why does Google show a different title than mine?

Google may write its own title link when the title element is half-empty, out of date, in a different language or competing with other headings. It says it can't change title links by hand for individual sites.

Go deeper

Sources