HTML <title> Tag
Description
The <title> tag is an essential element in HTML that defines the title of a web page. This title is displayed in the browser’s title bar or tab, giving users a clear indication of the content or purpose of the page. It also plays a crucial role in search engine optimization (SEO), as search engines use the content of the <title> tag as the clickable headline in search results.
The <title> tag is placed within the <head> section of an HTML document and is a required element in HTML documents. Its content should be concise, descriptive, and accurately reflect the page’s content, typically ranging from 50 to 60 characters for optimal display in search results. The title should avoid excessive keywords or redundant information to maintain clarity and improve readability.
Since the <title> tag is not visible within the body of the page itself, it serves as a metadata element that helps browsers, search engines, and users quickly identify and navigate to the page. Properly crafted titles enhance usability, accessibility, and discoverability, making the <title> tag a small but vital component of effective web design.
Properties
Example
Attributes
None
Global Attributes
The <title> tag also supports the Global Attributes in HTML5
Event Attributes
The <title> tag also supports the Event Attributes in HTML5
Browser Support
The following information will show you the current browser support for the HTML <title> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.
This tag is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 26th December 2025
