HTML Tag Reference - HTML tag <title>








This element defines the title of a document. The <title> element must be located inside the <head> element.

Browser compatibility

<title> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Global Attributes

The <title> tag supports the Global Attributes in HTML.

Default CSS Settings

title {
    display: none;
}




Example

<html>
<head>
    <title>title element example</title>
</head>
<body>
    body content
</body>
</html>

Click to view the demo