Note: This page is about the
<title>
element; see Global HTML Attributes for the attribute by the same name.
The HTML <title></title>
element is an important element. It is used within the <head>
element. This tag's only purpose is to indicate the text which will be shown in the tab bar and on the browser's main heading region.
To apply this in an HTML document, use:
<html>
<head>
<title>The title</title>
Head content
</head>
<body>
Body content
</body>
</html>