On-Page SEO Examples: 12 Real Before-and-After Fixes

An on page seo example in one line: a title tag that reads On-Page SEO Examples: 12 Elements You Can Fix Today instead of a vague Home | Blog. On-page SEO is everything you optimize directly on the page—titles, headings, content, links, images, and speed—to help search engines and readers understand it. Off-page SEO, by contrast, happens elsewhere: as Semrush frames it, writing unique, helpful content is on-page, while earning backlinks to that content is off-page.
This guide skips the generic checklists. Instead, you get 12 concrete before-and-after examples with real HTML snippets and copy rewrites, plus a one-click way to spot which of these issues live on your own pages right now.
On-Page SEO Example, Explained in One Line
On-page SEO is the practice of optimizing the elements you control on a single web page so it ranks higher and earns more clicks. The clearest example is the title tag.
Compare these two:
- Before:
<title>Untitled Page</title> - After:
<title>On-Page SEO Examples: 12 Elements With Before & After</title>
The second version front-loads the keyword, tells Google exactly what the page covers, and gives searchers a reason to click. That is on-page SEO in miniature.
On-Page vs Off-Page SEO
The difference is location, not importance—you need both. If you want the deeper picture, our complete guide to on-page SEO breaks down every factor in detail.
| Type | Where it happens | Examples |
|---|---|---|
| On-page SEO | On your own page | Title tags, headings, content, internal links, image alt text, page speed |
| Off-page SEO | Elsewhere on the web | Backlinks, brand mentions, PR, social signals |
12 On-Page SEO Examples (With Before & After)
The elements below mirror what top-ranking guides list—title tags, meta descriptions, headings, content, and speed—but with real rewrites you can copy. They also line up with the core on-page SEO factors that drive rankings. Big brands prove the pattern works: Nike optimizes product pages around keywords, NYT Cooking uses recipe schema for rich results, and Starbucks nails image UX. Here is how each element looks before and after optimization.
1. Title Tag Optimization
Your title tag is the blue link in search results and one of the strongest on-page signals. Keep it under roughly 60 characters and lead with the primary keyword.
- Before:
<title>Welcome to Our Blog - Read Our Latest Posts and Updates Here</title> - After:
<title>Cold Brew Coffee Recipe: Ready in 5 Minutes</title>
The rewrite is scannable, keyword-led, and promises a specific outcome—which lifts click-through rate and reinforces relevance for rankings. For more, see how to write title tags that rank and get clicks.
2. Meta Description
Meta descriptions aren't a direct ranking factor, but they heavily influence clicks. Aim for about 155 characters, include the keyword, and add a call to action.
- Before:
<meta name="description" content="Read this blog post about coffee."> - After:
<meta name="description" content="Learn how to make smooth cold brew coffee at home in 5 minutes. Get the exact ratio, steep time, and pro tips. Start brewing today.">
The after version sets expectations and gives searchers a nudge to click through.
3. Header Tags (H1–H3) and Structure
Use one descriptive H1 per page, then nest H2s and H3s in a logical hierarchy. Headings should describe content, not just style text.
- Before: Three H1s on one page, plus text sized with headings purely for visual weight.
- After:
<h1>Cold Brew Coffee Recipe</h1><h2>Ingredients</h2><h2>Step-by-Step Instructions</h2><h3>How Long to Steep</h3>
A clean outline helps crawlers—and readers—parse your page in seconds.
4. Keyword Placement in Content
Place your primary keyword naturally in the first 100 words, in a subheading, and a handful of times through the body. Then write genuinely helpful, unique content, as Semrush recommends—never stuff.
- Before (stuffed): "This cold brew coffee recipe is the best cold brew coffee recipe because cold brew coffee is easy and cold brew coffee tastes great."
- After (natural): "This cold brew coffee recipe uses a simple 1:8 ratio. It's smooth, low-acid, and takes five minutes of hands-on prep before an overnight steep."
The rewrite answers real questions instead of repeating a phrase.
5. URL Slug
Short, readable URLs beat long parameter strings for both users and search engines.
- Before:
example.com/blog/post?id=48291&cat=7&ref=home - After:
example.com/cold-brew-coffee-recipe
The clean slug describes the page and is easy to share, link to, and remember.
6. Internal Linking
Contextual internal links spread link equity and guide crawlers through your site. Use descriptive anchor text, not "click here," and follow a sensible target for how many internal links per page you include.
- Before: "For more coffee tips,
click here." - After: "See our guide to
choosing the right coffee grind sizefor better extraction."
The descriptive anchor tells both readers and Google what the linked page is about.
7. Image Optimization & Alt Text
Compress images so they load fast, and write alt text that describes the image for accessibility and image search. Starbucks is a strong example of image-led UX done well.
- Before:
<img src="IMG_4021.jpg" alt="">(2.4 MB, no alt) - After:
<img src="cold-brew-coffee-glass.webp" alt="Glass of cold brew coffee over ice with beans beside it">(180 KB WebP)
Smaller file, descriptive filename, meaningful alt text—three wins in one change.
8. Structured Data / Schema Markup
Schema markup helps you win rich results like star ratings, prices, and recipe cards. NYT Cooking uses recipe schema to stand out in the SERP.
A simplified recipe example:
{ "@context": "https://schema.org", "@type": "Recipe", "name": "Cold Brew Coffee", "totalTime": "PT12H", "recipeYield": "4 servings" }
Adding this JSON-LD block makes your page eligible for enhanced recipe listings that pull more clicks.
9. Page Speed & Core Web Vitals
Users expect a page to load within about two seconds, and Core Web Vitals are ranking signals. Largest Contentful Paint (LCP) is a key metric to watch.
- Before: LCP of 4.8s, driven by an uncompressed hero image and render-blocking scripts.
- After: LCP of 1.9s after compressing the hero to WebP, deferring non-critical JavaScript, and enabling caching.
Faster pages keep visitors engaged and give search engines fewer reasons to demote you.
10–12: Mobile-Friendliness, Content Freshness & E-E-A-T
Three more examples that round out a strong page:
- Mobile-friendliness: Swap a fixed-width desktop layout for a responsive design with legible font sizes and tap-friendly buttons. Most searches happen on mobile, so this is non-negotiable.
- Content freshness: Update a 2022 "best tools" post with current options and a visible "Last updated" date. Refreshed content signals relevance.
- E-E-A-T: Add an author bio with real credentials, cite sources, and show experience. Trust signals help Google's Experience, Expertise, Authoritativeness, and Trustworthiness assessment—especially on health and finance topics.
How to Do On-Page SEO: A Step-by-Step Checklist
Here is an ordered checklist that maps directly to the examples above. Save it as your on-page SEO checklist and run it on every new page before you publish. For a more granular, prioritized version, see our full on-page SEO activity list.
- Write a unique title tag under 60 characters with the keyword up front.
- Craft a compelling meta description around 155 characters with a call to action.
- Set one clear H1 and structure the rest with logical H2s and H3s.
- Place the primary keyword in the first 100 words and use it naturally throughout.
- Shorten the URL slug to a few readable, keyword-rich words.
- Add contextual internal links with descriptive anchor text.
- Compress images, rename files, and write meaningful alt text.
- Add relevant schema markup for eligible content types.
- Test page speed and fix Core Web Vitals issues.
- Confirm the page is responsive on mobile.
- Refresh dates and facts, and add author or trust signals.
Common On-Page SEO Mistakes to Avoid
These issues quietly drag down otherwise good pages:
- Duplicate title tags across multiple pages, which confuse search engines.
- Missing meta descriptions, forcing Google to auto-generate a weak snippet.
- Keyword stuffing that reads unnaturally and risks penalties.
- Broken internal links that waste crawl budget and frustrate users.
- Unoptimized images with huge file sizes and empty alt text.
- Slow pages that fail Core Web Vitals.
- Thin content that doesn't fully answer the query.
Auditing These Examples on Your Own Site in One Click
Knowing the examples is one thing—finding which ones you've missed across dozens of pages is another. Manually checking every title tag, meta description, heading, alt attribute, and speed metric is slow and easy to get wrong. A structured on-page SEO analysis process makes it repeatable.
That's where an on page seo checker earns its keep. Argus by Pixelesq is an AI-powered Chrome extension—the all-seeing SEO inspector—that runs a one-click SEO audit on any page you're viewing. Instead of digging through source code, you get an instant, prioritized read on the same elements from this guide:
- Title tag length and keyword placement
- Missing or duplicate meta descriptions
- Heading structure and multiple-H1 problems
- Images missing alt text
- Page speed and Core Web Vitals flags
- Internal linking and structured data gaps
Argus turns the checklist above into an automated fix list, with AI-powered insights that explain what to change and why. It's one of the best on-page SEO tools for content strategists, marketers, and developers who want quick answers rather than another dashboard to learn—the fastest way to move from example to action.
Install Argus by Pixelesq and run your first one-click on-page audit—then work down the flagged issues using the before-and-after examples above.
Frequently Asked Questions
What is an example of on-page SEO?
Writing a unique, keyword-optimized title tag is a classic example—such as changing Untitled Page to Cold Brew Coffee Recipe: Ready in 5 Minutes. Other examples include descriptive alt text, clean URL slugs, and adding schema markup.
What does on-page SEO mean?
On-page SEO means all the optimization techniques you apply directly on your web pages—content, HTML tags, structure, images, and speed—to help them rank higher and read better for users.
How is on-page SEO different from off-page SEO?
On-page SEO happens on your own page (titles, content, internal links). Off-page SEO happens elsewhere, primarily earning backlinks and mentions. As Semrush puts it, writing helpful content is on-page; getting links to it is off-page.
Why is on-page SEO important?
It's the part of SEO you fully control. Optimizing titles, headings, content, and speed helps search engines understand your page and helps users find and trust it—directly improving rankings, click-through rates, and organic traffic.
What are good on-page SEO examples for a small business?
Start with clear title tags on every service and location page, unique meta descriptions with a call to action, fast-loading compressed images with alt text, local keywords in your content, and internal links between related pages. A one-click audit with Argus helps a small team spot these gaps without hiring an agency.