/lesson-04

On-Page SEO Basics: Optimizing Titles, Headings, and Meta Tags

Learn how to write title tags, H1 headings and meta descriptions that describe your page accurately and make people want to click.

Lesson 4 of 3010 min readUpdated Sep 27, 2026

Key takeaways

  • The title tag is your headline in search results: keep it around 50–60 characters and lead with the main topic.
  • Use one H1 per page that tells readers what the page delivers; it can be longer than the title.
  • Meta descriptions are not a ranking factor, but an accurate summary can earn more clicks.
  • Google may rewrite titles and descriptions, so the page itself must clearly match the search.

On-Page SEO refers to all the optimizations you make directly on your web pages to help them rank higher in search results. While there are hundreds of on-page factors, three elements form the foundation: Title Tags, H1 Headings, and Meta Descriptions.

These three elements are your first impression in search results—they determine whether a user clicks on your page or scrolls past it.

1. Title Tags: Your Headline in Search Results

The Title Tag (also called the SEO title) is the clickable headline that appears in search engine results pages (SERPs). It's displayed in the browser tab and is one of the most important on-page SEO elements.

Best Practices for Title Tags

RuleDescriptionExample
LengthKeep it under 60 characters to avoid truncation"Best Running Shoes for Beginners | Expert Reviews"
Primary Keyword FirstPlace your main keyword near the beginning"SEO Guide: Complete Tutorial for Beginners"
Unique TitlesEvery page should have a unique titleDon't use the same title across multiple pages
Brand NameInclude your brand at the end (optional)"Best Coffee Makers | YourBrand"
Pro Tip: Be specific and accurate: say who the page is for or what it compares. Only put a year in the title when the content has genuinely been updated for that year.

2. H1 Tags: The Page's Main Headline

The H1 tag is the main heading of your page content. It tells both users and search engines what your page is about. Think of it as the title of a newspaper article.

H1 Best Practices

  • One H1 per page: Every page should have exactly one H1 tag.
  • Match user intent: Your H1 should clearly describe what the page delivers.
  • Include primary keyword: Naturally incorporate your main keyword.
  • Different from Title Tag: While similar, your H1 can be longer and more descriptive.
  • Make it compelling: Users should want to keep reading after seeing your H1.

H1 vs Title Tag: What's the Difference?

ElementWhere It AppearsPurpose
Title TagSearch results, browser tabAttract clicks from SERPs
H1 TagTop of page contentConfirm relevance, guide readers

3. Meta Descriptions: Your Sales Pitch

The Meta Description is the short summary that can appear below your title in search results. It is not a ranking factor, but a clear, accurate description can persuade more people to click. Google sometimes shows its own snippet from the page instead, so the page itself should answer the query well.

Writing Compelling Meta Descriptions

  • Length: Aim for roughly 120–160 characters. Google shortens longer snippets and sometimes writes its own.
  • Include a call-to-action: Use phrases like "Learn how", "Discover", "Get started".
  • Include the keyword: Google bolds matching search terms.
  • Highlight benefits: Tell users what they'll get from your page.
  • Be specific: Vague descriptions get ignored.
Example: ❌ Bad: "We sell shoes. Check out our website." ✅ Good: "Compare 10 running shoes for beginners by comfort, weight and price. Free shipping on orders over $50. Find your fit."

Putting It All Together: A Real Example

Let's say you're optimizing a page about "best coffee machines for home":

  • Title Tag: Best Coffee Machines for Home: 10 Picks Compared
  • H1: The 10 Best Coffee Machines for Home Brewing
  • Meta Description: Looking for a home coffee machine? We compare 10 models by price, capacity and ease of cleaning to help you choose. (Only say you tested products if you really did.)

Conclusion

Mastering Title Tags, H1s, and Meta Descriptions is the first step in on-page SEO. These elements work together to tell search engines what your page is about and convince users to click.

/tools/site-crawler

Try it now: Site crawler

Check your own site for some of the problems in this lesson: missing titles, meta descriptions, H1s and image alt text.

Crawl up to 100 pages of a website and see missing titles, meta descriptions, H1s and image alt text in one report.

Open tool

Needs a free Google sign-in.