Copyright © tutorialspoint.com
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.
<html> <head> <title>HTML Document Title</title> </head> <body style="background-color:#f8f8f8"> Document content goes here </body> </html> |
To Become more comfortable - Do Online Practice
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. |
Copyright © tutorialspoint.com