HTML title Tag

HTML <title> Tag: The HTML <title> tag is required in all HTML documents. It defines the title of the document. It sets the title in the browser toolbar. And the HTML title tag also provides the title for the web page when it is added to favorites. And displays the title for the page in search-engine results.

HTML<title>Tag

This HTML title tag supports the global attributes. And the <title> tag belongs to meta content category.

Syntax: <title>Text</title>

Browser compatibility

The HTML title tag is supported by different types of browsers.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • InternetExplorer

Example:

<!DOCTYPE html>
<html>
<head>
<title>Title of the article</title>
</head>
<body>
   HTML CSS JAVA
   </body>
</html>

Output:

HTML CSS JAVA