HTML Page Title

The page title defines the text shown in the browser tab and search results.
It is set using the <title> tag.


Title Tag Syntax

<title>HTML Page Title</title>

Complete Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Learn HTML Page Title</title>
</head>
<body>
  <h1>HTML Page Title</h1>
</body>
</html>

Best Practices for Page Titles

  • Keep titles short and clear
  • One title per page
  • Include main topic
  • Avoid keyword stuffing

Important Notes

  • <title> is required
  • Only one <title> tag per page
  • It affects SEO and usability