Back to Concepts

<title>

Defines the document title.

The `<title>` tag defines the title of the document. The title must be text-only, and it is shown in the browser's title bar or in the page's tab. It is crucial for SEO and usability.

Live Example & Code

Preview Output
<head>
  <title>My Awesome Website</title>
</head>
HTMLViz
© 2026 HTMLViz. Open Source Learning.