SEO
Title tag
A HyperText Markup Language element that names a web page, appearing as the clickable headline in search results and as the label on a browser tab.
also called: meta title, title tags
// definition
A title tag is a HyperText Markup Language (HTML) code element located in the head section of a web page that defines its official title. Search engines display this text as the primary clickable snippet link on a search engine results page (SERP), while web browsers use it to label individual tabs and bookmarks.
A title tag differs from an H1 header tag, which is the visible main heading located within the body of the web page itself. While the H1 heading serves human visitors reading the page content, the title tag primarily informs external systems like web browsers, search engine crawlers, and social networks about the topic of the document.
// why it matters
Search engine algorithms use the text within a title tag as a major signal to understand the primary topic of a web page. A descriptive, relevant title tag helps search engines match the page to user search queries, directly influencing search visibility. The title tag forms the largest text element in search engine results, making it the primary factor influencing whether a user decides to click through to the website. Clear and accurate title tags prevent user confusion, reduce immediate site exits, and ensure that search engines present the document accurately across search engine results pages.
// example
An online shoe retailer creates an HTML title tag written as <title>Men's Running Shoes | Quality Athletic Footwear</title>. When a user searches for athletic footwear online, search engine results pages render this tag as the blue clickable title line. Browsers also display Men's Running Shoes | Quality Athletic Footwear on the browser tab when a user opens the page, confirming its contents.
Questions and Answers
- How long should a title tag be?
- A title tag should generally remain between 50 and 60 characters long to avoid truncation in search engine results. Search engines measure title lengths in pixels rather than character counts, so wider letters take up more space. Keeping titles concise ensures that search engine results display the complete headline without cutting off critical business information.
- Why is Google changing my title tag in search results?
- Google alters a displayed title tag when it determines that the original text does not accurately describe the page content or match a user search intent. Search engines may replace the tag with the H1 heading, anchor text from external links, or content found within the body text to make the result clearer for users.
- Is a title tag the same thing as an H1 tag?
- No, a title tag and an H1 tag are distinct HyperText Markup Language elements that serve different purposes. The title tag appears in browser tabs and search engine results, whereas the H1 tag serves as the primary visual heading displayed directly on the web page itself for human visitors.
