title

Summary

The HTML Title Element (<title>) defines the title of the document, shown in a browser's title bar or on the page's tab. It can only contain text and any contained tags are not interpreted.

Usage context

Content categories Metadata content.
Permitted content Text
Tag omission All tags required. Note that leaving off </title> should cause the browser to ignore the rest of the page.
Permitted parent elements A <head> element that contains no other <title> element.
Normative document HTML 5, section 4.2.2, HTML 4.01, section 7.4.2

Attributes

Like all other HTML elements, this element supports the global attributes. It does not support any other attribute.

DOM interface

This element implements the HTMLTitleElement interface.

Example

<title>Awesome page title</title>
HTML Elements
A B C D E F G H O J K L M N O P Q R S T U V W X Y Z 
(Quick Links HTML Category)

Tags (3)

Contributors to this page: Elchi3, jswisher, ethertank, enderandpeter, teoli, Ms2ger, McGurk
Last updated by: ethertank,