HTML Home
HTML Tags Reference
Selected Reading
© 2011 TutorialsPoint.COM
|
HTML <title> tag
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:
Attribute | Description |
class | Document wide identifier |
dir | Specifies the direction of the text |
id | Document wide identifier |
title | Specifies a title to associate with the element. |
style | Helps to include inline casecadubf style sheet. |
lang | Sets the language code. |
|
|
|