HTML <title> tag

You are Here:

HTML <title> tag

The <title> tag specifies the title of a web page.

It is used for the following purpose.

  • It is displayed at the top of your web browser (in the title bar).
  • It is displayed on search engine results pages (SERPs) as the clickable headline for a given result.
  • It is displayed in the browser's bookmark section when a user bookmarks your page.

Note: The <title> tag is mandatory for a web page.

Example

HTML Online Editor
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <p>Content goes here.</p> </body> </html>

Attributes

There is no special attributes for <title> tag. Only Global attributes.

SEO Tip

Follow these guidelines to improve the user experience and also search results.

  • Your title should not exceed more than 60 characters because if your title is too long, search engines may cut it off by adding an ellipsis ("...") and could end up omitting important words.
  • Try to put important keywords first.
  • Give every page a unique title, this helps search engines understand that your content is unique and valuable, and also drive higher click-through rates.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author