Note: Not to be confused with the title attribute. This tag and that attribute are two different things. (Attributes do not have angle brackets, like tags do.)


The <title> Element

The <title> tag defines the document's title. The title will not be displayed in the document itself, but might be displayed on the browser's tab or title bar at the top:

HTML file:
<!DOCTYPE html>
  <html>
    <head>
      <title>My first meta data</title>
    </head>
    <body>
      <p>This is my first webpage</p>
    </body>
  </html>
Mozilla Firefox shows:
Firefox
Google Chrome shows:
Google Chrome
Internet Explorer shows:
Internet Explorer

Back button Table of Contents Next button