WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML


 

HTML <title> Tag



Example

Define a title for your HTML document:

<!DOCTYPE html>
<html>

<head>
  <title>HTML Reference</title>
</head>

<body>
The content of the document......
</body>

</html>

Definition and Usage

The <title> tag is required in all HTML documents and it defines the title of the document.

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

Browser Support

Element
<title> Yes Yes Yes Yes Yes

Differences Between HTML 4.01 and HTML5

NONE.