Master java skills

HTML Page Title

Providing your web page a relevant title is the primary goal of the HTML Title Page. The <title> tag is used to define the title.

Every web page should have a page title to describe the meaning of the page.

What is page title ?

The name displying in the browser tab is called as page title. Refer the below image.

How to add page title ?

The <title> element adds a title to your page:

Example:

<!DOCTYPE html>
<html>
<head>

  <title>HTML Page Title</title>
  
</head>
<body>
<!--HTML content -->
</body>
</html>

Output :

The title should describe the content and the meaning of the page.

The page title is very important for search engine optimization (SEO). The text is used by search engine algorithms to decide the order when listing pages in search results.

The <title> element:

  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search engine-results

So, try to make the title as accurate and meaningful as possible!