Open In App

HTML title Tag

Last Updated : 25 Nov, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

The <title> tag in HTML is used to define the title of a web page. This title appears in the browser's title bar or tab, and it is also used by search engines as the clickable headline in search results.

Important Points

  • The title tag is used to give the title to the webpage and it should be the text only.
  • You can NOT have more than one <title> element in an HTML document.
  • It is recommended to choose a more detailed and descriptive title rather than opting for a brief one- or two-word title.
  • A page's title, essential for Search Engine Optimization (SEO), impacts how search engines rank pages in search results.
  • Keep titles concise within 50-60 characters for optimal search engine display and user readability.
  • Avoid using just a list of keywords in titles to prevent negative SEO consequences.
  • Ensure titles accurately reflect webpage content to enhance user understanding and search engine optimization.
HTML
<!DOCTYPE html>
<html>

<head>
    <title>Welcome to my blog</title>
</head>

<body>
    <h1>Blog Homepage</h1>
    <p>This is my homepage of my bolg</p>
</body>

</html>

Syntax

<title> website title </title>

Similar Reads