Open In App
Related Articles

HTML title Tag

Improve Article
Improve
Save Article
Save
Like Article
Like

The <title> tag in HTML is used to define the title of HTML document. It sets the title in the browser toolbar. It provides the title for the web page when it is added to favorites. It displays the title for the page in search engine results.

Note: You can NOT have more than one <title> element in an HTML document.

Syntax: 

<title> Title name </title>

Example: 

HTML




<!DOCTYPE html>
<html>
    <head>
        <title>title Tag</title>
    </head>
    <body>
        <h1>GeeksforGeeks</h1>
        <h2><title> Tag</h2>
         
 
 
<p>Welcome to GeeksforGeeks!</p>
 
 
 
    </body>
</html>                   


Output: 

Supported Browser: 

  • Google Chrome 1 and above
  • Edge 12 and above
  • Internet Explorer 1 and above
  • Firefox 1 and above
  • Opera
  • Safari 1 and above
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 01 Aug, 2022
Like Article
Save Article
Similar Reads
Related Tutorials