HTML <title> tag

The <title> tag defines the title of a document or a webpage. It must be placed inside the <head> element. It can be seen on the browser's tab bar and in search engine result.

Type: Metadata Element

Syntax of <title> tag

<title> Webpage Title </title>

Supported Browsers

Tag Chrome Internet Explorer Firefox Safari Opera Mini
<title> Yes Yes Yes Yes 1Yes

There must be only one <title> element for a webpage.

Full code example

<!DOCTYPE html>
<html>
<head>
<title>
Title of the page
</title>
</head>
<body>
Website  Content
</body>
</html>
Run The code »

The title must be described clearly for better SEO. There must be only one <title> element for an HTML webpage.

Default CSS property of <title> element

title {
  display:none;
}