HTML - <title> Tag


Advertisements


Description

The HTML <title> tag is used for indicating the title of the HTML document. The body title is placed between the <head> and the </head> tags.

HTML document title is visible via browser’s title bar.

Example

<!DOCTYPE html>
<html>

   <head>
      <title>Title comes here</title>
   </head>

   <body>
      <p>title tag is used for indicating the title of the HTML document. HTML document
         title is visible via browser’s title bar.</p>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in − HTML Attribute Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes

html_tags_reference.htm

Advertisements