Specifies the title of the document. | HTML 2, 3.2, 4, 4.01, 5 |
HTML Syntax
<head>
<title> ... </title>
...
</head>
NOTE: Both start and end tags are required.
The <title
> element represents the document’s title or name.
Authors should use titles that clearly identify the content of their documents and describe the subject matter unambiguously, as automated Web search tools use the content of the <title
> element to index documents.
The content of the title element displays in the title bar of the browser window and in the taskbar.
If no title is specified, the default title depends on the browser being used.
There must be no more than one title element per document.
NOTE: This element can only be used within the <head> element.
The <title>
element has no attribute of its own, but supports global attributes common to all HTML elements.
The following shows how the title element may be used.
<head>
<title>Welcome to HTML<title>
</head>
Show me
HTML HEAD