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.


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



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

Please Share