</> Code Corner

HTML · HTML Tutorial · Lesson 17

HTML Page Title

Why the <title> element matters.

Every page should have a unique title that describes its content. The <title> element is placed inside <head>.

Example

<!DOCTYPE html>
<html>
<head>
  <title>HTML Tutorial - Code Corner</title>
</head>
<body>
  <p>The content of the document......</p>
</body>
</html>

The title is important

  • It is shown in the browser tab
  • It is used as the name when the page is added to favorites/bookmarks
  • It is displayed as the headline in search engine results

Keep reading “HTML Page Title”

Sign up to read the full lesson (1 more parts), try every example in the live editor, and take the 5-question quiz.

Chat with us 👋