Html5 Title Tag

In the html 5 <title> tags is used to title of the HTML page and which tag should use for all html page. Also <title> content will display at browser toolbar and when you add to favorites to provides title for the page and it display at search engines.

The <title> tag you must put on between opening <head> tag and closing </head> tag.

Syntax:

<title> ... </title>

Example Code

<!DOCTYPE HTML>
<html>
    <head>
      <title> Sachin Tendulkar is greatest batsmen in the history of cricket</title>
    </head>
<body>
    <p> Sachin Tendulkar is greatest batsmen in the history of cricket</p>
</body>
</html>

Out Put :



Sachin Tendulkar is greatest batsmen in the history of cricket

In the above example <title> tag appiled to Sachin Tendulkar is greatest batsmen in the history of cricket at Text.In the body content only is displaying in the above example.





Content