Free HTML tutorial

HTML Title Element: Write a Clear Page Title

Learn what the HTML title element does, where it belongs, and how to write a distinct title for each page.

Where the title belongs

The <title> element belongs inside the document <head>. It provides the page title used in browser tabs and bookmarks.

<head>
  <meta charset="utf-8">
  <title>HTML Tables: Accessible Data Tables</title>
</head>

Write a useful title

  • Describe the main subject of that specific page.
  • Use natural wording that matches the visible content.
  • Give each important page a distinct title.
  • Avoid keyword lists and repeated boilerplate.

Title element and page heading

The title element is in the document head and usually is not shown as the page's main content. Use a visible <h1> for the page heading. Search engines may use the title when forming a result title, but they can choose other text when it better fits a query.