What is On-Page SEO?
On-page SEO (also called "on-site SEO") refers to the practice of optimizing individual web pages to rank higher and earn more relevant traffic in search engines. Unlike off-page SEO (which involves external signals like backlinks), on-page SEO focuses on content and HTML source code that you can control directly.
1. Title Tags
The title tag is the most important on-page SEO element. It appears as the clickable headline in search results and is the first thing users see.
Best practices:
- Include your primary keyword near the beginning
- Keep it under 60 characters (Google truncates longer titles)
- Make it compelling — include numbers, dates, or power words (e.g., "2026 Guide," "Ultimate," "Free")
- Write unique titles for every page — never duplicate
<title>On-Page SEO Guide — Title Tags, Meta Descriptions and Headers (2026)</title>
2. Meta Descriptions
Meta descriptions are HTML attributes that summarize a page's content. While not a direct ranking factor, a good meta description improves click-through rate (CTR), which indirectly boosts rankings.
Best practices:
- Keep between 150–160 characters
- Include your target keyword naturally
- Add a call to action: "Learn more," "Get started," "Find out how"
- Make it unique for each page
3. Header Structure (H1, H2, H3)
Headers help Google understand the structure and hierarchy of your content. Think of them as an outline for your page.
- H1: One per page, should match or closely relate to the title tag. It is the main heading.
- H2: Major sections within your content. Include secondary keywords.
- H3/H4: Subsections under H2s. Great for breaking down complex topics.
Never skip heading levels (e.g., going from H1 directly to H3). This confuses screen readers and search engines.
4. Image Alt Text
Alt text (alternative text) describes an image for search engines and visually impaired users. Google cannot "see" images — it relies on alt text to understand them.
Best practices:
- Describe the image accurately and concisely
- Include keywords naturally where relevant
- Do NOT keyword-stuff (e.g., "SEO SEO SEO image")
alt="On-page SEO diagram showing title tag and meta description placement"Bad:
alt="SEO"
5. URL Structure
Clean, descriptive URLs help both users and search engines understand page content.
- Use hyphens (-) between words, not underscores (_)
- Keep URLs short and readable
- Include the target keyword
- Avoid unnecessary parameters (?id=123, &ref=xyz)
6. Internal Linking
Internal links connect one page of your site to another. They help distribute "link equity" and help Google discover new pages.
Strategy: Link from high-traffic pages to newer or less visible pages. Use descriptive anchor text (not "click here"). Aim for 2–5 internal links per article.
- Unique, keyword-rich title tag (under 60 chars)
- Compelling meta description (150–160 chars)
- One H1, logical H2/H3 hierarchy
- Alt text for every image
- Clean, keyword-inclusive URL
- 2+ internal links to related content