Smal SEO Tool

HTML Page Title

The <title> element defines the title of the document, which is shown in the browser's title bar or in the page's tab.

The Importance of a Page Title

The page title is a required element in all HTML documents. It serves several important functions:

  • It defines a title in the browser toolbar.
  • It provides a title for the page when it is added to favorites.
  • It displays a title for the page in search-engine results.
An example of a page title in a browser tab

How to Add a Page Title

The <title> tag is placed inside the <head> section of your HTML document.

Example

html
<head>
  <title>My Awesome Page</title>
</head>

SEO and Page Titles

The page title is one of the most important on-page SEO factors. A good page title is descriptive, concise, and includes relevant keywords. It's your first opportunity to tell both users and search engines what your page is about.

Test Yourself with an Exercise

Where does the <title> element go in an HTML document?