Onpage SEO
Optimises a webpage's content, HTML, and structure so search engines and users can understand its topic and relevance directly on the page.
If you have ever written a perfect title tag and still failed to rank, you already know on-page SEO alone does not guarantee a top position.
Key points
- Match search intent before you write a single word of content.
- Place your target keyword naturally in the title tag, first heading, and URL — all critical on page seo factors.
- Write a unique meta description for every page to improve click-through rate.
- Use descriptive alt text and filenames for every image on the page.
- Add internal links to related pages to help users and search engines navigate; this is a fundamental on site seo practice.
- Apply structured data where relevant to help search engines interpret your content.
The same keyword, three different pages
A travel site targets 'best hiking boots' on three pages. Page A has a title tag 'Hiking Boots | Shop' and a thin paragraph. Page B uses 'Best Hiking Boots for 2025' with a 2000-word guide, images with alt text, and internal links to gear reviews. Page C matches the same intent but adds schema markup for product ratings. Page B ranks on page one; Page A does not. Page C gets a rich snippet that doubles its click-through rate. The difference is entirely on-page.
Three things on-page SEO is not
- Not a ranking guarantee It signals relevance and clarity, but Google also weighs authority from off page seo signals like backlinks. A perfect page can still sit on page two.
- Not a one-time fix Search intent, competitor content, and Google's evaluation criteria shift. A page optimised last year may need a fresh title tag, updated meta description, or new internal links.
- Not just keywords Keyword placement in the title tag and headings matters, but so do image alt text, structured data, URL structure, and internal linking. Ignoring any of these leaves signals on the table.
Four ways it goes wrong
- Keyword stuffing Repeating the same phrase in every sentence makes content unreadable and triggers spam filters. Write naturally for users first; search engines will still understand the topic.
- Duplicate title tags Using the same title tag on multiple pages confuses search engines about which page is most relevant. Each page needs a unique, descriptive title tag.
- Ignoring search intent Publishing a list of products when the query asks for a buying guide misses the mark. The page must fully answer what the user actually wants.
- Skipping structured data Schema markup helps search engines interpret content and can enable rich snippets. Without it, you leave potential search appearance improvements unused.
Three things to check before you publish
- Does the title tag match the query? The title tag should include the target keyword and reflect the page's content. A mismatch confuses both users and search engines about relevance.
- Is the meta description compelling? The meta description appears in search results and influences click-through rate. Keep it under 160 characters, include the keyword naturally, and summarise the page's value.
- Are internal links in place? Internal links distribute context and help users find related content. Link to at least two other relevant pages on your site within the body text.
Common questions
What is on-page SEO in digital marketing?
It is the practice of optimising a webpage's content, HTML, and structure to improve its relevance and visibility in search results.
What are the best off-page SEO techniques?
Off-page SEO focuses on building authority through backlinks, brand mentions, and social signals. It complements on-page work but is a separate discipline.
Sources
- Google Search Central Official guidance on on-page elements like title tags and meta descriptions.
- Moz - On-page SEO Detailed overview of on-page factors and best practices.
- Ahrefs - On-Page SEO Glossary entry covering definition, examples, and common mistakes.