Open In App

HTML title Tag

The HTML <title> tag is used to define the title of the document, displayed in the browser's title bar or tab. It's a required element within the <head> section of an HTML document.

Syntax: 

<title> Title name </title>

Important Points

HTML Title Tag Examples

Example: In this example, the HTML <title> tag sets the title displayed in the browser's title bar or tab. It's essential for identifying the webpage and improving search engine optimization (SEO).

<!DOCTYPE html>
<html>

<head>
    <!-- Define Title Here-->
    <title>title Tag</title>
</head>

<body>
    <h1>GeeksforGeeks</h1>
    <h2>
        &lt;title&gt; Tag
    </h2>
    <p>
        Welcome to GeeksforGeeks!
    </p>
</body>

</html>

Output: 

Supported Browser

The browser supported by title tag are listed below:

Article Tags :