The Document Title Element
You'll learn how the <title> element affects browser tabs, bookmarks, and search engine visibility.
The <title> element is a small piece of HTML with an outsized impact on user experience and discoverability. It sits inside your document's <head> section and defines what text appears in three critical places: your browser tab, saved bookmarks, and search engine results.
Why It Matters
Think of the <title> element as your page's business card. When users have 20 tabs open, your title is the only clue about your page's content. When they bookmark your site, that title becomes the default name. When Google displays search results, it's often the blue clickable headline that convinces someone to visit.
How It Works
The browser extracts the text from <title> and displays it in the tab bar. Bookmark managers store it as the default name. Search engines parse it to understand your page's topic and display it prominently in results (often truncating after ~60 characters).
Here's what the element looks like in your HTML:
<head>
<title>Product Launch Guide - Jamstack Best Practices</title>
</head>
Best Practices
Keep titles descriptive and concise. Include your site name for branding, but put the most important keywords first. Avoid generic titles like "Home" or "Page 1" — they're useless when users have multiple tabs open or return to bookmarks weeks later.
Each page should have a unique title that accurately reflects its specific content, not a site-wide template.
Key Takeaway: The <title> element is your page's identity in browser tabs, bookmarks, and search results—make every word count for usability and discoverability.