We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Our volunteers haven't translated this article into عربي 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 title of the document, shown in a browser's title bar or on the page's tab. It can only contain text, and any tags contained within 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 the page's <head> block.


<title>Awesome page title</title>

Accessibility concerns

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

A common navigation technique for users of assistive technology is first reading the page title to quickly infer what content it will contain. This is because navigating through 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>

Updating the page title's value to reflect significant page state changes (such as form validation problems) can also be helpful:


<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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support1 Yes11 Yes1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes4 Yes Yes Yes

Document Tags and Contributors

آخر مَن حدّثها: sinistersnare,