Our volunteers haven't translated this article into Català yet. Join us and help get the job done!
You can also read the article in English (US).

The HTML Title element (<title>) defines the document's title that is shown in a browser's title bar or a page's tab. It only contains text and tags within the element are ignored.

Content categories Metadata content.
Permitted content Text that is not inter-element whitespace.
Tag omission Both opening and closing tags are required. Note that leaving off </title> should cause the browser to ignore the rest of the page.
Permitted parents A <head> element that contains no other <title> element.
Permitted ARIA roles None.
DOM interface HTMLTitleElement


This element only includes the global attributes.

Usage notes

The <title> element is always used within a page's <head> block.


<title>Awesome page title</title>

Accessibility concerns

It is important to provide a title value that describes the page's purpose. 

A common navigation technique for users of assistive technology is to read the page title and infer which content it contains. This is because navigating a page to determine its content can be a time consuming and potentially confusing process.


<title>Menu - Blue House Chinese Food - FoodYum: Online takeout today!</title>

To help the user, update the page title value to reflect significant page state changes (such as form validation problems).


<title>2 errors - Your order - Blue House Chinese Food - FoodYum: Online takeout today!</title>


Specification Status Comment
HTML Living Standard
The definition of '<title>' in that specification.
Living Standard  
The definition of '<title>' in that specification.
HTML 4.01 Specification
The definition of '<title>' in that specification.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 1Edge Full support YesFirefox Full support 1IE Full support 1Opera Full support YesSafari Full support 1WebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes


Full support  
Full support