On-page SEO is everything inside the page itself that helps search engines and people understand it: the title, the description, the headings, the words, the links, and the images. None of it is exotic. Most problems come from templates that were never filled in properly, or from text written for a keyword instead of a reader. This lesson walks through each element with HTML you can adapt.
The title element
The <title> element is the single most visible piece of on-page SEO. Search engines often use it as the clickable headline in results (Google calls it the "title link"), and browsers show it in tabs and bookmarks.
<head>
<title>How to Clean a Leather Wallet (Without Ruining It) · Oak & Hide</title>
</head>Good titles:
- describe this specific page, not the whole site;
- put the most important words first;
- are unique across the site;
- are concise. There's no official character limit, but long titles get cut off on the results page, so the important part should come early.
Google may rewrite a title when it thinks another text on the page describes it better, for example when titles are missing, repeated across many pages, or stuffed with keywords. Clear, accurate titles get rewritten less often.
Meta descriptions
The meta description is a short summary in the <head>:
<meta name="description" content="Step-by-step cleaning for leather wallets: what to use, what to avoid, and how often to condition, with photos of each step.">Google states that the meta description isn't a ranking factor. It can still be shown as the snippet under your title, so it influences whether people click. Write a unique, specific summary of what the reader gets. Google may show a passage from the page instead when that matches the query better.
Headings: H1 to H6
Headings describe the structure of the page. Think of them as a table of contents:
<h1>How to Clean a Leather Wallet</h1>
<h2>What you'll need</h2>
<h2>Step-by-step cleaning</h2>
<h3>Remove dust and debris</h3>
<h3>Clean with a damp cloth</h3>
<h3>Condition the leather</h3>
<h2>What to avoid</h2>(The indentation is only for readability; HTML doesn't need it.)
- Use one H1 that states what the page is. Google says multiple H1s aren't a problem for search, but a single clear H1 is easiest for everyone.
- Use H2s for main sections and H3s for subsections inside them. Don't skip levels for visual effect.
- Choose heading levels for structure, then style them with CSS. A heading should never be picked for its font size.
Screen reader users often navigate by headings, so a clean outline helps accessibility as much as SEO.
Semantic HTML
Semantic elements describe what content is, not how it looks: <header>, <nav>, <main>, <article>, <section>, <aside>, <footer>, <figure> with <figcaption>, <ol> and <ul> for lists, <table> for tabular data.
<body>
<header>…site name and navigation…</header>
<main>
<article>
<h1>How to Clean a Leather Wallet</h1>
<p>Leather is skin, so treat it gently…</p>
</article>
</main>
<footer>…</footer>
</body>This helps search engines identify the main content and helps assistive technology present it correctly. Real links should be <a href> elements; a <div> with a click handler isn't a link to a crawler.
URL structure
Readable URLs help people understand where a link leads before they click:
- Good:
https://www.example.com/guides/clean-leather-wallet/ - Harder to read:
https://www.example.com/index.php?id=4821&cat=7
Guidelines: use lowercase words separated by hyphens, keep them reasonably short, group related pages under a folder when it reflects your site's structure, and avoid changing URLs once published. If you must change one, use a permanent redirect (lesson 7).
Image alt text
The alt attribute describes an image for people who can't see it, and helps search engines understand the image and the page:
<img src="/images/wallet-damp-cloth.jpg"
alt="Wiping a brown leather wallet with a slightly damp microfiber cloth"
width="1200" height="800">Describe what the image shows in the context of the page. Purely decorative images should have an empty alt="" so screen readers skip them. Don't stuff alt text with keywords. Setting width and height also prevents layout shifts as images load (lesson 10).
Internal links and anchor text
Links between your own pages help search engines discover pages and understand how they relate. The clickable text, called anchor text, tells both readers and search engines what the target is about.
<!-- Vague -->
<p>To keep it supple afterwards, <a href="/guides/condition-leather/">click here</a>.</p>
<!-- Descriptive -->
<p>Afterwards, follow our <a href="/guides/condition-leather/">guide to conditioning leather</a>.</p>Descriptive anchor text is better for screen reader users too, who often list all links on a page out of context. Lesson 8 covers site-wide linking strategy.
Content quality and readability
Search engines increasingly reward pages that are genuinely useful. Google's guidance on helpful content suggests asking questions like: does the page provide original information or analysis, does it fully answer the question, would a reader leave satisfied?
For readability:
- Answer the main question early. Don't make readers scroll past a long preamble.
- Use short paragraphs, descriptive subheadings, lists for steps, and examples.
- Explain jargon the first time you use it.
- Show experience where you have it: original photos, measurements, test results, and lessons learned are hard to fake and valuable to readers.
A complete example
Here is a compact page <head> and opening with the elements together:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>How to Clean a Leather Wallet (Without Ruining It) · Oak & Hide</title>
<meta name="description" content="Step-by-step cleaning for leather wallets: what to use, what to avoid, and how often to condition, with photos of each step.">
<link rel="canonical" href="https://www.example.com/guides/clean-leather-wallet/">
</head>
<body>
<main>
<article>
<h1>How to Clean a Leather Wallet</h1>
<p>You need a soft brush, a microfiber cloth, and a leather conditioner. Skip soap and olive oil.</p>
<h2>Step-by-step cleaning</h2>
<ol>
<li>Empty the wallet and brush out dust.</li>
<li>Wipe with a slightly damp cloth, then let it air-dry.</li>
<li>Apply a pea-sized amount of conditioner and buff.</li>
</ol>
<p>Done? Read our <a href="/guides/condition-leather/">guide to conditioning leather</a>.</p>
</article>
</main>
</body>
</html>Step by step: review one page
- View the page source. Is there exactly one
<title>, and does it describe this page? - Is there a meta description written for this page, not copied from the homepage?
- List the headings in order. Do they form a sensible outline with one H1?
- Is the URL readable and stable?
- Do the images have accurate
alttext, oralt=""if decorative? - Do the internal links use descriptive anchor text?
- Read the first two paragraphs. Do they answer the main question?
Practice with RankMiso. Steps 1 to 6 go faster with a page inspector. Our free RankMiso extension shows the title, description, and canonical with their lengths, the full H1 to H6 outline (with highlighting on the page), links grouped as internal and external, and each image's alt state. Its Metadata section also has desktop and mobile snippet previews where you can draft a new title and description without touching the page. Free on the Chrome Web Store (opens in a new tab) and Firefox Add-ons (opens in a new tab).
Common on-page mistakes
- The same title or description on every page, often from a template default.
- A logo or site name wrapped in the H1 on every page, with the real topic in an H2.
- Headings chosen for size, producing outlines like H1 → H4 → H2.
- "Click here" and "read more" as anchor text everywhere.
- Images with file names as alt text (
IMG_2041.jpg), or no alt attribute at all. - Important text placed inside images, where it's harder to read for search engines and for anyone using a screen reader.
Key takeaways
- Write a unique, descriptive title for every page; it's the most visible on-page element.
- Meta descriptions don't affect ranking but can shape the snippet people read.
- Use one clear H1 and a logical heading outline, and semantic HTML for structure.
- Descriptive anchor text and accurate alt text help search engines and people.
- Useful, readable content matters more than any tag.
Exercise
Take the page you traced in lesson 1 and audit it with the seven-step review above. Rewrite its title and meta description, fix one heading or link problem, and note the before and after. Keep the notes; lesson 5 turns this into a full audit.
References
- Google Search Central: Influencing your title links (opens in a new tab)
- Google Search Central: Control your snippets in search results (opens in a new tab)
- Google Search Central: Image SEO best practices (opens in a new tab)
- Google Search Central: Link best practices (opens in a new tab)
- Google Search Central: URL structure best practices (opens in a new tab)
- MDN: The HTML Section Heading elements (opens in a new tab)
What's next
You can now review a single page. Your First SEO Audit scales that up: a structured way to check a whole small site, find what matters, and decide what to fix first.

