HTML Page Title
HTML Page Title
The page title is the text displayed on the browser tab and in search engine results. It is defined using the <title> tag, which must be placed inside the <head> section of an HTML document.
Example Code
Output
-
Browser tab will show: My First Web Page
-
The title does not appear on the page itself, only in the browser tab and search results.
Tips for Titles
-
Keep it short and descriptive (50–60 characters)
-
Include important keywords for SEO
-
Avoid using the same title on multiple pages
The page title is essential for user experience and search engine optimization.
