In this discussion we will inform you about the <title> tag in html5 document. This tag is used for defining the title of the documents and contains the meta content of the document. The content of the <title> tag is not displayed in the browser but displayed in the title bar of the browser. The <title> tag is used within the <head> tag. We can not use more than one <title> in a document.
The declaration syntax of the <title> tag is as follows:
|<title> The Title of the document </title>|
<title>Example of Title Tag</title>
This is example of Title tag.<br>
The text within the title tag is not shown
in the browser.<br>
It displays on the title bar of browser.
Difference between HTML5 and HTML4.01
There is no specific attribute of this tag and no difference with html4.01.
Posted on: September 15, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles