On-Page SEO: The Complete Guide for 2026

On-page SEO is what you control directly on the page. It is the highest-leverage work in SEO because you do not need anyone else's permission to ship it.

Last updated: · By SEO Smart Engine Team

Title tag

Under 60 characters, primary keyword near the front, brand at the end. This single element usually swings CTR more than any other change.

Meta description

Under 160 characters. Not a direct ranking factor but drives CTR, which is. Write it like ad copy - not like a summary.

Headings (H1, H2, H3)

One H1 that matches search intent. H2s that mirror how people ask sub-questions. H3s for detail. AI engines lean heavily on this structure.

URL structure

Short, descriptive, hyphens between words. /blog/seo-checklist beats /blog/2024/01/15/post-284.

Internal links

Every new page should link out to 3-5 existing pages and receive 3-5 links from existing pages. Use descriptive anchor text.

Schema markup

Article, FAQ, HowTo, Product, Review - whichever fits the page. Rich results in Google, better citations in AI engines.

Images and media

Descriptive filenames, alt text, compressed file sizes, width/height attributes to prevent CLS.

In-depth guide

A longer, practitioner-level breakdown of on-page SEO - written for readers who want the full picture, not just the summary above.

Title tag construction beyond the character-count rule

Keeping a title tag under roughly 60 characters so it does not truncate in search results is the well-known rule, but it is the least interesting part of title construction. The more consequential decision is word order and framing: the primary keyword phrase should appear as close to the front of the title as practically possible, because both users scanning a SERP and Google's relevance-matching systems weight earlier terms more heavily than terms buried near the end.

A title should also differentiate the page from every other page on your own site targeting adjacent queries, not just from competitors. A common failure on larger sites is a batch of near-identical titles across a category cluster (Best Running Shoes, Best Running Shoes for Men, Best Running Shoes Reviewed) that confuses Google's own understanding of which page should rank for which specific query, effectively causing the site to compete against itself.

Modifiers matter more than most writers assume. Words like guide, checklist, 2026, or a specific number (7 ways, 12 examples) do not just decorate a title, they signal a content format to both the searcher and to Google's classification of what type of result this is, and mismatched signals (a title promising a list that leads to unstructured prose) hurt click-through and increase bounce, both of which Google's systems can detect through aggregate user behavior.

Brand placement should be consistent and deliberate. Putting the brand name at the end after a separator, rather than the front, preserves the keyword-forward structure while still building brand recognition in the SERP over repeated impressions. The one common exception is for very well-known brands where the brand name itself carries the primary search demand, in which case leading with the brand is correct.

Heading structure that maps to how people actually ask questions

A single, unambiguous H1 that closely mirrors the primary search intent of the page remains a baseline requirement, but the real leverage in modern on-page SEO is in the H2 and H3 layer beneath it. Each H2 should ideally correspond to a distinct sub-question a searcher would naturally ask about the topic, phrased close to how a person would actually type or speak that question, rather than as an abstract label like Overview or Benefits that describes the content type but not its actual substance.

This question-mirroring approach matters more now than it did five years ago because both classic featured snippets and newer AI-generated answer summaries rely heavily on heading structure to identify which block of a page directly answers which specific question. A page with vague, generic headings gives these extraction systems little to latch onto, even if the body prose beneath those headings is genuinely excellent.

Nest H3s under an H2 only when they represent a genuine sub-division of that H2's topic, not as a generic formatting device to break up long sections. A common mistake is using H3s purely to add visual variety to a wall of text, which dilutes the semantic signal headings are supposed to carry and can confuse extraction systems about which content belongs under which parent question.

Maintain a single logical heading hierarchy from H1 through H2 through H3 without skipping levels for purely visual reasons, such as using an H4-styled element as an H2 tag because it looked better in a template. Screen readers and crawlers both rely on structural nesting, not visual appearance, to interpret the outline of the page.

Entity coverage: writing for what Google understands, not just what it matches

Modern search relevance is built substantially around entities, meaning the specific real-world people, places, organizations, products, and concepts a page discusses, mapped against Google's Knowledge Graph and similar internal representations, rather than purely around exact keyword phrase matching. A page can rank for a query without containing that query's exact phrase verbatim, provided it clearly and thoroughly covers the entities and related concepts that query implies.

Practically, this means a strong page on a topic should mention the adjacent entities a genuine expert would naturally reference: related tools, standard terminology, common alternative approaches, relevant organizations or standards bodies, and comparable concepts. A page about email deliverability that never mentions SPF, DKIM, or DMARC by name, for instance, signals shallow coverage of the topic regardless of how well the surrounding prose reads, because those are the entities any genuine expert treatment of the topic would include.

Building entity coverage starts with reading the top-ranking pages for your target query and listing every named entity, technical term, and adjacent concept they reference, then checking your own draft against that list before publishing. This is a distinct exercise from traditional keyword research, since many of the entities that matter for topical depth will never show up in a keyword-volume tool at all, as they are supporting concepts rather than searched phrases in their own right.

Do not force entity mentions unnaturally purely to hit a checklist. The goal is genuine topical completeness that would satisfy a subject-matter expert reading the page, not keyword-stuffing dressed up in more sophisticated language. A useful test is whether an expert in the field, reading your page, would find any obvious and significant gap in coverage compared to what they would expect a thorough treatment to include.

Writing for featured snippets: format follows the query type

Featured snippets pull from three broad content shapes: paragraph snippets for definitional or explanatory queries, list snippets for sequential or enumerable queries (steps, ingredients, ranked items), and table snippets for comparative or specification-style queries. Identifying which shape a target query calls for, by directly examining what Google currently shows in the snippet position for that query, should happen before you write a single word of the section meant to capture it.

For paragraph snippets, the target answer should appear as a self-contained 40 to 60 word block placed immediately beneath the heading that states the question, with no dependency on preceding context to make sense. A common mistake is answering the question gradually across several sentences that each build on the last, which reads well but produces no single extractable block a snippet algorithm can cleanly lift.

For list snippets, use an actual HTML ordered or unordered list element, not a series of bolded paragraph lead-ins styled to look like a list, since the underlying markup is what snippet extraction systems parse most reliably. Keep each list item concise and parallel in structure and grammatical form, since inconsistent phrasing across list items makes the list harder to extract cleanly as a coherent unit.

For table snippets, use an actual HTML table with clear column headers, keeping every cell's content genuinely comparable within its column, since a table with inconsistent or ambiguous cell content undermines both the snippet-extraction potential and the more recent AI-generated comparison summaries that rely on the same tabular structure to build their responses.

Position the target answer block as close to the top of the relevant section as possible, ideally directly beneath its heading, since Google appears to favor extractable content positioned early within its containing section over content that requires scrolling past substantial preamble first.

Structuring content for AI answer engines, not just classic snippets

AI-generated answer summaries, whether inside Google's own AI features or third-party assistants, draw from the same underlying quality signals as traditional SEO but reward an additional layer of structural clarity: self-contained sections that make sense when extracted in isolation, since these systems frequently pull and recombine fragments from multiple sources rather than sending a user to a single page the way a classic ten-blue-links result does.

Practically, this reinforces most of the same disciplines already covered - clear question-shaped headings, tight extractable answer blocks, genuine tables and lists rather than prose pretending to be structured content - but adds a further requirement that each section carry enough of its own context to stand alone. A section that says as mentioned above or building on the previous point creates a dependency that classic readers tolerate but that extraction systems handling a fragment in isolation cannot resolve.

Original, specific detail is disproportionately valuable for this purpose, since AI systems synthesizing an answer from many sources tend to favor and cite sources that contribute a genuinely distinct fact, figure, or framing not found identically across competing pages. A page that only restates commonly available information contributes nothing an AI summarizer could not already get from five other sources, while a page contributing one specific, well-supported detail becomes disproportionately likely to be the one actually cited.

None of this changes the fundamental discipline of writing for a human reader first. Pages engineered purely for extraction, with unnaturally choppy sentences and no connective narrative, tend to perform worse overall because they fail the reader who does land on the full page rather than only receiving a fragment, and Google's quality systems increasingly assess whether a page satisfies a reader who arrives directly, not only whether a fragment extracts cleanly.

Image optimization and alt text that actually do their job

Alt text serves two genuinely distinct purposes that are often conflated: accessibility, describing the image content to a screen reader user who cannot see it, and search relevance, giving Google textual context about an image it cannot itself fully interpret at a semantic level despite advances in image recognition. Good alt text serves both purposes simultaneously by describing what the image actually shows in plain, specific language, without stuffing in unrelated keywords that misdescribe the image purely to chase search traffic.

A useful discipline: write alt text as if describing the image over the phone to someone who needs to know what it depicts and why it is relevant to the surrounding content. A product photo's alt text should describe the specific product and its visible attributes (blue canvas backpack with leather straps, front view), not a generic phrase like product image or an unrelated keyword phrase the image does not actually depict.

File names carry a smaller but real signal that most sites ignore entirely, uploading images with names like IMG_4821.jpg rather than blue-canvas-backpack-front-view.jpg. Renaming image files before upload, or requiring it as a step in your content or product-upload workflow, is a low-effort change that compounds meaningfully across a large image library.

Image file size and format directly affect page speed, which is itself a ranking and user-experience factor, so serving appropriately compressed images in modern formats like WebP or AVIF with correctly specified width and height attributes to prevent layout shift is inseparable from image SEO even though it is often treated as a purely technical performance concern handled by a different team.

Decorative images that add no informational content, such as purely stylistic background graphics, should carry empty alt attributes rather than a forced descriptive phrase, since screen readers will otherwise announce irrelevant decorative content to users who gain nothing from hearing it described, and there is no search relevance benefit to describing genuinely decorative imagery.

Where internal links belong within the body, not just in navigation

The position of an internal link within a page's body content materially affects how much weight it carries, both because of how Google's algorithms have historically weighted contextual links over template links, and because of simple user behavior - a link in the first few hundred words of genuinely relevant body copy gets clicked and noticed far more than an identical link buried in a related-posts widget at the very bottom of the page.

The strongest placement is a natural, contextually relevant link embedded within a sentence that is already discussing the linked page's topic, positioned reasonably early in the content rather than saved entirely for a conclusion. A page discussing email deliverability that mentions SPF records should link to a dedicated SPF explainer at the point where SPF is first mentioned, not only in a further-reading list at the very end.

Anchor text should describe the destination page's actual content specifically, avoiding both generic phrases like click here and overly repetitive exact-match anchor text used identically across dozens of links site-wide, since Google's spam-detection systems can flag unnaturally uniform anchor text patterns as a manipulation signal even when the underlying links are genuinely relevant.

Every substantive page should link out to at least a few other relevant pages on the site and should itself be linked to from at least one other relevant page, since orphan pages with no incoming internal links receive dramatically less crawl attention and ranking support regardless of the quality of their own content. A periodic site crawl specifically checking for orphan pages is a worthwhile addition to a standard technical audit routine.

Avoid overloading a single page with an excessive number of internal links crammed in purely for SEO purposes, since each additional link on a page dilutes the equity passed to every other link on that same page, and a wall of forced links reads poorly to an actual visitor regardless of any algorithmic consideration.

Content structure for scannability without sacrificing depth

Long-form content that genuinely covers a topic thoroughly does not need to read as a dense, unbroken wall of text to earn credit for that thoroughness. Short paragraphs, frequent subheadings, and periodic use of bullet points or numbered steps at genuinely list-like moments in the content all improve both user comprehension and machine extractability without shortening or shallowing the actual substance underneath them.

A useful rule of thumb: no paragraph should run more than about five or six sentences before a natural break, and no major section should run more than a few hundred words without a subheading marking a shift to a new sub-question or sub-topic. This is not an arbitrary formatting preference, it reflects genuinely how both human readers and machine extraction systems parse long content into digestible, addressable units.

Front-load the most important, most directly answering content within each section rather than building up to it gradually through extended preamble, since both readers who are scanning and extraction systems looking for a section's core answer benefit from finding it quickly rather than having to read through several sentences of setup first.

Use a table of contents with jump links for genuinely long pages, particularly comprehensive guides covering many sub-topics, since this both improves user navigation directly and gives Google an additional structural signal about the page's internal organization that can surface as sitelinks or jump-to-section results within the standard search listing.

Readability and voice: matching the page to its actual audience

Readability scores and simplified sentence structure are frequently oversold as universal SEO requirements, when in fact the correct reading level depends entirely on the actual audience for that specific page. A technical API reference aimed at experienced developers should not be artificially simplified to hit a generic eighth-grade readability target, since doing so would actually reduce its usefulness and credibility to its real audience, while a consumer-facing buying guide genuinely benefits from plain, direct language.

The more universal principle underlying good readability advice is not simplicity for its own sake but clarity: avoiding unnecessarily convoluted sentence structure, unexplained jargon in content aimed at a general audience, and passive voice constructions that obscure who is doing what. These improve comprehension for any audience, technical or general, without dumbing down genuinely necessary complexity.

Voice and tone consistency across a site's content matters for both brand and, to a lesser extent, for the E-E-A-T signals Google's quality raters are trained to assess, since wildly inconsistent voice across pages on the same site (one page casual and conversational, another stiffly formal) can read as a signal of low editorial oversight or content assembled from disconnected, unvetted sources rather than a coherent, expert-maintained publication.

Match sentence and paragraph length variation to keep even technical or dense content engaging to read, since uniformly long sentences of similar length and rhythm, even when individually clear, produce a monotonous reading experience that increases the likelihood a reader abandons the page before reaching the actual answer they came for.

Meta elements beyond title and description that still matter

Beyond the well-covered title tag and meta description, several other on-page meta elements continue to influence how a page is understood and displayed. The canonical tag declares the authoritative version of a page's content and should be present and correct on every page, self-referencing on pages meant to be indexed as-is, since its absence leaves Google to guess at canonicalization in cases of near-duplicate content, sometimes incorrectly.

The viewport meta tag and correct responsive rendering remain foundational given Google's mobile-first indexing, meaning the mobile-rendered version of a page's content, including its on-page elements like headings and structured data, is the version actually evaluated for ranking purposes, not the desktop version, regardless of which version a site's editorial team primarily reviews before publishing.

Open Graph and Twitter card meta tags do not directly affect search ranking, but they directly affect how a page's link appears when shared on social platforms, which indirectly affects the organic distribution and linking behavior that does feed back into broader SEO signals over time. Treat these as part of a complete on-page checklist even though their mechanism of influence is indirect rather than a direct ranking factor.

Language and hreflang meta declarations matter for any site serving multiple regions or languages, ensuring the correct localized version of a page is served to the correct audience in search results, and their absence or misconfiguration is a common cause of the wrong country or language version of a page ranking for users in a given market.

Auditing on-page elements at scale without doing it page by page

Manually reviewing on-page elements one page at a time does not scale past a few dozen URLs, so any site beyond that size needs a crawler-based audit workflow that exports every page's title, meta description, H1, word count, and canonical target into a single spreadsheet for pattern-level review. Sort and filter this export for duplicate titles, duplicate meta descriptions, missing H1 tags, and unusually short word counts, since these four filters alone typically surface the majority of on-page issues on a large site.

Segment the audit by template or page type rather than reviewing the whole export as one undifferentiated list, since a systemic issue (every product page missing a meta description, for instance) is far easier to identify and fix at the template level in one engineering change than it is to notice and fix product by product from a flat spreadsheet.

Prioritize fixes by traffic and ranking potential rather than working through the audit spreadsheet in arbitrary order. A missing meta description on a page that already receives strong search traffic is a higher-priority fix than the same issue on a page with negligible organic visibility, even though both would show up identically as an error in a generic audit tool's severity rating.

Re-run this audit on a recurring schedule, not only as a one-time cleanup project, since new pages published through normal content and product workflows will continue to introduce the same on-page issues over time unless the underlying templates and publishing checklists are fixed at the root cause, which a periodic audit is what actually surfaces when a root-cause fix has silently regressed.

Free tools to apply this

FAQ

How long should a page be for good on-page SEO?

Long enough to fully answer the intent, no longer. Word count is not a ranking factor - completeness is.

Does keyword density still matter?

Only insofar as it signals the page is on topic. Anything above 1-2% typically hurts readability without helping rankings.

Related guides

Continue building topical authority with the guides closest to this one.

Recommended for your site

Ranked by topical relevance to this page.

Go deeper

Comparisons, playbooks and use-case breakdowns that build on this topic.