mozilla
Your Search Results

    <title>

    Summary

    The HTML <title> element (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 not interpreted.

    Usage context

    • Content categoriesMetadata 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 elementsA <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 Living Standard  
    HTML5 Candidate Recommendation  
    HTML 4.01 Specification Recommendation  

    Document Tags and Contributors

    Last updated by: Jeremie,