Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Nasi wolontariusze nie przetłumaczyli jeszcze tego artykułu na język Polski. Dołącz do nas i pomóż go przetłumaczyć!

The HTML <title> element 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 ignored.

Usage context

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 parent elements A <head> element that contains no other <title> element.
DOM interface HTMLTitleElement

Attributes

This element only includes the global attributes.

Example

<title>Awesome page title</title>

Specifications

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

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 1.0 (1.7 or earlier) 1.0 1.0 1.0
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support (Yes) 1.0 (1) (Yes) (Yes) (Yes)

Autorzy i etykiety dokumentu

 Ostatnia aktualizacja: Tigt,