Tutorials Point


  HTML Home

  HTML Tags Reference
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

HTML <title> tag




Advertisements

Function:

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 borwser's title bar.

Difference between HTML and XHTML:

NONE

Example:

<html>
<head>
<title>HTML Document Title</title>
</head>

<body style="background-color:#f8f8f8">
Document content goes here
</body>

</html>

Online Practice:

To Become more comfortable - Do Online Practice

Standard Attributes:

AttributeDescription
classDocument wide identifier
dirSpecifies the direction of the text
idDocument wide identifier
titleSpecifies a title to associate with the element.
styleHelps to include inline casecadubf style sheet.
langSets the language code.

Printer Friendly

Advertisements


  

Advertisements