html tutorial - Title tag in HTML - html5 - html code - html form
![title tag](https://wikitechy.com/step-by-step-html-tutorials/img/html-images/html-intro.gif)
Learn html - html tutorial - title tag - html examples - html programs
Definition of <title>tag:
- The <title> tag is used to define the title of the HTML document.
- To show the title of the page in browser title bar the <title> tag is used.
- The <title> tag belongs to meta content category.
- The <title> tag supports Global Attributes.
![learn html - html tutorial - html development tutorial - html examples - html - html script - html program - html download - html samples - html scripts](https://wikitechy.com/step-by-step-html-tutorials/img/html-images/html-tutorial.gif)
Syntax for <title> tag :
<title>Content</title>
Sample coding for <title> tag:
Tryit
<!DOCTYPE html>
<html>
<head>
<title>The title of the document</title>
</head>
<body>
<p>
Welcome to Wikitechy.
</p>
</body>
</html>
Code Explanation for <title>tag:
![](https://wikitechy.com/step-by-step-html-tutorials/img/html-images/code-explanation-title-tag-in-html.png)
- <title> tag is used to display the title of the html document.
Sample Output for <title>tag:
![](https://wikitechy.com/step-by-step-html-tutorials/img/html-images/output-for-title-tag-in-html.png)
- The term “The title of the document” shown in the top of the browser window.
Browser Support for <title> tag:
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes |
Tips and Notes:
- <title>tag cannot appears more than one time in a document.
- If <title>not presents in a document that will not be validate as HTML.
- <title>tag display the title in the search-engine result.