# title HTML

## HTML <title> Tag

The title of the document is required in all HTML documents and is thus defined by the HTML <title> element. This element thus serves the purpose of specifying the title in the browser tab, providing a title for the page when it is added to favorites and displaying a title for the page in search engine results.

## Global Attributes:

The HTML Global attributes are supported by the HTML <title> tag.

## Supporting Browser:

Chrome, IE, Firefox, Opera and Safari.

Example:

<!DOCTYPE html> <html> <head> <title>Title Example</title> </head> <body> <p>Hello World!!</p> </body> </html>

Output:

Explanation:

In the above example, we added a page title under the <head> tag.