Skip to the page
html reference · document

HTML <title> tag

closing tag
required
void element
no
lives inside
<head>
typically holds
plain text

Where it goes

Inside <head>, nowhere else. One per page.

Example

<head>
  <title>About Me</title>
</head>

Open this example in the editor →

Common mistakes

  • Putting it inside <body>. It does nothing there and will not show in the tab.
  • Leaving it generic, like "Untitled Document." Every real page deserves a specific title.

Related

Updated 24 October 2026. Practice it in the html route, or read more on MDN.