Signup/Sign In
PUBLISHED ON: FEBRUARY 22, 2021

HTML Title Tag

In HTML, the <title > tag is used to define the title of the web page in the web application.

  • This title will be shown in the browser's title bar or in the tab bar.

  • The title value provided to <title> tag describes the page's purpose.

  • The <title> tag is always used inside <head> tag.

  • This <title> tag is helpful in search engine results.

  • There can be only one <title> tag in a document.

HTML <title> Tag Syntax and Usage

The <title> tag requires the start(opening) tag and end(closing) tag.

Following is the syntax for using the title tag in your HTML code:

<title>
...content here
</title>

HTML <title> Tag Basic Example

Below we have a basic example showing how we use the HTML title tag

HTML <title> Tag Attributes

This element does not have any specific attributes although this element supports Global and Event attributes.

Default CSS Settings for HTML <title> Tag

Given below are the default CSS settings used by most of the browsers:

title {
  display: none;
}

Browser Support for HTML <title> Tag

Following browsers support this attribute:

  • Google Chrome 6.0+

  • Internet Explorer 9.0+

  • Firefox 4+

  • Opera 11.1+

  • Safari 5.0+



About the author:
Aspiring Software developer working as a content writer. I like computer related subjects like Computer Networks, Operating system, CAO, Database, and I am also learning Python.