HTML TITLE Tag || Title Tag in HTML
×

HTML TITLE <title> Tag

0 635

The HTML TITLE  tag present in all HTML documents and it defines the title of the document. It is most important for Search Engine Optimization (SEO). The HTML title tag must be used inside the <head> tag.

The title of the page is displayed on the title bar of the browser.

The TITLE <title> Tag:

  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search-engine optimization results

Note: You can NOT have more than one <title> element in an HTML document.

Syntax:

<title> ... .... ... </title>

Program:

<!DOCTYPE HTML>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<p>The content of the document.....</p>
<p>The content of the document.....</p>
<p>The content of the document.....</p>
</body>
</html>

Output:



Share:


Leave a Reply


Comments
    Waiting for your comments