Title tag in HTML - HTML Tutorial




 title tag

Title tag in HTML

Definition of <title>tag :

  • The <title> tag is used to define the title of the HTML document.
  • To show the title of the page in browser title bar the <title> tag is used.
  • The <title> tag belongs to meta content category.
  • The <title> tag supports Global Attributes.
learn html -  html tutorial -  html development tutorial -  html examples -  html  -  html script -  html program -  html download -  html samples  -  html scripts

Syntax for <title> tag :

<title>Content</title>

Sample coding for <title> tag :

 Tryit
<!DOCTYPE html>
  <html>
      <head>
        <title>The title of the document</title>
      </head>
      <body>
        <p>
            Welcome to Wikitechy.
        </p>       
      </body>
  </html>

Code Explanation for <title>tag :



  1. <title> tag is used to display the title of the html document.

Sample Output for <title>tag :



  1. The term “The title of the document” shown in the top of the browser window.

Browser Support for <title> tag :

Yes Yes Yes Yes Yes

Tips and Notes:

  • <title>tag cannot appears more than one time in a document.
  • If <title>not presents in a document that will not be validate as HTML.
  • <title>tag display the title in the search-engine result.

Related Searches to Title tag in HTML

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×