On-Page SEO
On-Page SEO is the practice of optimizing individual web pages to rank higher and earn more relevant traffic. It involves adjusting elements within your own website—such as the content, HTML code (titles, headings, meta tags), and internal links—to make the page as helpful and "search-engine friendly" as possible.
Title Tags & Meta Descriptions
Title Tag (<title>): The clickable headline in search results. Meta Description: The summary under the title that "sells" the click.
Heading Tags (<h1> to <h6>)
Headings provide structure. Your <h1> is the main title, while <h2> and <h3> act as sub-headers to break up text.
Image Optimization (ALT tags)
Search engines read ALT tags to understand images. This also ensures accessibility for visually impaired users.
URL Structure & Slugs
A "slug" identifies a specific page. It should be short, descriptive, and keyword-rich (e.g., /seo-guide).
Internal Linking & Anchor Text
Linking to other pages on your site using descriptive Anchor Text helps Google understand site structure.
Content SEO (Placement & Density)
Place keywords naturally in the first 100 words and headings. Focus on readability—if humans like it, Google will too.
Advanced Technical Elements
Schema Markup (for Rich Snippets), Canonical Tags (to avoid duplicates), and Robots.txt (to control crawling).
Mini HTML Practice Task
Try writing basic HTML with a Title, Meta Description, H1, and Image Alt tag in a text editor to see how the code looks.
