You are here: Reference > HTML > tags > title

title element

Browser support:
Defines the title of the page.
The title element is used to add a title to the document. The title appears at the top of the browser window. Must be placed in the head section.
If you want to see the HTML tags by categories, please visit this page.
This element requires a closing tag.
JavaScript page for this element: title.

Possible members:

Attributes
Events
Styles
dir
Sets the text direction as related to the lang attribute.
id
Sets a unique identifier for the object.
lang
Specifies the language of the element.
name
Sets the name of an element.
xml:lang
Sets the language code of the XML document.

Example HTML code 1:

This example illustrates the use of the title element:
<head>
    <title>title tag demonstration</title>
</head>
Did you find this example helpful? yes no

External links:

User Contributed Comments

Post Content

Post Content