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.

CodeCapsule

Sanjit Sinha — Web Developer | PHP • Laravel • CodeIgniter • MySQL • Bootstrap Founder, CodeCapsule — Student projects & practical coding guides. Email: info@codecapsule.in • Website: CodeCapsule.in

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *