What Is SEO? – Lesson # 2


SEO Foundations: On-Page Optimization

Introduction to Ranking Signals

Search engines use hundreds of signals to determine the best results for any given query. These signals generally fall into two broad categories:

  • Relevancy – How closely a page matches the user’s search intent.
  • Popularity – How authoritative or trusted a page appears, often based on links and engagement.

This lesson focuses on on-page optimization, which primarily relates to relevancy signals—factors you can directly control on your website.


Key On-Page SEO Elements

Title Tags

Title tags are the single most important on-page SEO element.

  • They describe the purpose and intent of a page.
  • Search engines display them as the headline in search results.
  • They influence both rankings and click-through rates.
  • Keywords should appear near the beginning when possible.
  • Titles should be clear, compelling, and relevant.

Meta Descriptions

Meta descriptions:

  • Are short summaries of a page’s content.
  • Often appear below the title in search results.
  • Do not directly impact rankings.
  • Strongly influence click-through rates.
  • Should be persuasive and encourage users to click.

Note: Search engines sometimes rewrite meta descriptions if they believe another snippet better matches the query.

Header Tags (H1, H2, H3, etc.)

Header tags create a content hierarchy:

  • H1: Main topic of the page (usually one per page).
  • H2: Subtopics.
  • H3: Supporting points under H2 sections.

While H1 tags used to be extremely powerful for SEO, they are now less influential than title tags. However, they remain important for:

  • Structuring content clearly.
  • Helping search engines understand content organization.
  • Improving readability for users.

URLs (Uniform Resource Locators)

URLs are the web addresses of your pages.

Best Practices:

  • Keep URLs short and simple.
  • Include primary keywords naturally.
  • Avoid excessive words or repetition.
  • Make them easy to read, type, and share.

URL Structure Components:

Domain Name

Your domain name is your online identity.

Best practices:

  • Keep it easy to spell and pronounce.
  • Avoid spammy-looking domains.
  • Include keywords only if it feels natural.
  • Do not over-optimize just for SEO.

Subdirectories

Example:

example.com/blog/seo-basics
  • Keep subdirectories minimal.
  • Include keywords naturally.
  • Avoid deep, complex folder structures.

Image Alt Text

Search engines cannot interpret images the way humans do.

Alt text:

  • Describes images in text form.
  • Helps search engines understand image content.
  • Improves accessibility for visually impaired users.
  • Should be descriptive and relevant.
  • Avoid keyword stuffing.

Internal Links

Internal links connect one page of your website to another page on the same site.

Benefits:

  • Help search engines understand site structure.
  • Clarify page relevance.
  • Improve user navigation.
  • Distribute authority across pages.

They are not “votes” like external links but are powerful relevancy signals.

Natural Language Processing (NLP)

Search engines use Natural Language Processing (NLP) to understand content.

Instead of simply counting keywords, NLP:

  • Analyzes context.
  • Identifies related terms.
  • Understands intent.
  • Interprets semantic meaning.

For example, a page about soccer might include words like:

  • Goal
  • World Cup
  • Referee
  • Team

These contextual signals help search engines understand the topic more naturally.

Sitemaps

There are two types of sitemaps:

HTML Sitemap

  • Designed for users.
  • Shows site structure and major sections.
  • Often found in the footer.

XML Sitemap

  • Designed for search engines.
  • Lists all important URLs.
  • Helps crawlers understand site hierarchy and priorities.

On-Page SEO Practices to Avoid

Keyword Stuffing

  • Repeating keywords excessively.
  • Makes content unreadable.
  • No longer effective.

Hidden Text

  • Text that is invisible to users but visible to search engines.
  • Example: White text on a white background.
  • Easily detected and penalized.

Repetitive Anchor Text

  • Overusing the same exact keyword in internal links.
  • Disrupts readability.
  • Appears manipulative.

Cloaking

  • Showing one version of a page to search engines and another to users.
  • Considered deceptive.
  • Can lead to penalties.

What a Perfectly Optimized Page Looks Like

While perfection is dynamic and constantly evolving, an ideal optimized page includes:

Optimized Title Tag

  • Clear
  • Keyword-focused
  • Click-worthy

Compelling Meta Description

  • Persuasive copy
  • Encourages clicks

Short, Keyword-Rich URL

  • Clean
  • Readable
  • Concise

Structured, High-Quality Content

  • Clear headings
  • Logical layout
  • Engaging and informative writing
  • Written for humans first

Bot Accessibility

  • Avoid outdated technologies like Flash.
  • Use modern web standards (e.g., HTML5).
  • Ensure search engines can crawl the content.

Social Sharing Capability

  • Add social sharing buttons.
  • Encourage readers to share.
  • Include calls to action.

Multi-Device Compatibility

  • Responsive or adaptive design.
  • Mobile-friendly.
  • Accessible across tablets, phones, desktops, and TVs.

Summary

Two Broad Categories of Ranking Signals

  1. Relevancy
  2. Popularity

Most Important On-Page Elements

  • Title tags (most critical)
  • Header tags
  • Semantic URLs
  • Image alt text
  • Internal links
  • Sitemaps

Avoid These Tactics

  • Keyword stuffing
  • Hidden text
  • Repetitive anchor text
  • Cloaking

Role of Natural Language Processing

Natural Language Processing helps search engines understand the meaning, intent, and context behind human-written text—not just keywords.


SEO Foundations: On-Page Optimization

Introduction

Welcome back to SEO Foundations. In this lesson, we will cover on-page optimization.

By the end of this lesson, you will be able to:

  • Describe the two broad categories of ranking signals.
  • Recite best practices for on-page elements such as title tags, header tags, URLs, alt text, and more.
  • Identify on-page SEO practices that should be avoided.
  • Explain how Natural Language Processing (NLP) helps search engines understand meaning behind

What Is On-Page Optimization?

On-page optimization is the practice of optimizing individual web pages to rank higher and attract relevant traffic from search engines.

It includes:

  • Content optimization
  • HTML source code optimization

SEO can be complex. To simplify it, we categorize ranking signals into two broad groups:


  1. Relevancy – How closely a page matches the search intent.
  2. Popularity – How authoritative or trusted a page appears.

In this lesson, we focus on on-page factors, which mainly influence relevancy and are directly under your control.


Primary On-Page Relevancy Factors

The main on-page factors include:

  • Title tags
  • Meta descriptions
  • Header tags (H1, H2, H3)
  • Website URLs and URL structure
  • Image alt text
  • Internal links
  • Keyword usage
  • Sitemaps

Title Tags (Page Titles)

The title tag (also called the page title):

  • Is displayed in the browser tab.
  • Appears as the main clickable blue link in search results.
  • Strongly influences click-through rates.
  • Creates the first impression of your website.

Best Practices:

  • Include primary keywords naturally.
  • Keep it clear and concise.
  • Make it compelling to encourage clicks.

Meta Descriptions

The meta description:

  • Appears as the gray text snippet in search results.
  • Does not directly affect rankings.
  • Strongly influences click-through rates.

If you do not write one, search engines may pull text from your page automatically.

You can influence what appears, but you cannot fully control it. Search engines may override your description if they believe another snippet better matches the query.

Best Practices:

  • Write a short, descriptive summary.
  • Clearly explain the purpose of the page.
  • Encourage users to click.

Header Tags (H1, H2, H3)

Header tags establish a logical hierarchy of content.

  • H1 – Main headline (usually one per page).
  • H2 – Subheadings that divide content into sections.
  • H3 – Paragraph-level subheadings.

Why They Matter:

  • Help users scan content quickly.
  • Provide structural clarity.
  • Naturally incorporate primary and secondary keywords.
  • Help search engines understand page organization.

Keep headings short, clear, and descriptive.


URLs and URL Structure

The URL is the address of your webpage.

Best Practices:

  • Keep URLs short and readable.
  • Include at least one relevant keyword.
  • Avoid keyword stuffing.
  • Avoid excessive hyphenation.
  • Make them easy to copy and share.

The domain name is the core of your URL (e.g., example.com).

Important Considerations:

  • Easy to spell.
  • Easy to pronounce.
  • Memorable.
  • Not spammy or overloaded with keywords.

Having keywords in your domain is not a primary ranking factor. Branding and usability are more important.

Examples of strong brands without keyword domains:

  • Amazon
  • Google
  • Alibaba

After the domain, you have subdirectories and page names.

Example:

domain.com/shoes/nike-running-shoe
  • “Shoes” is the category (subdirectory).
  • “Nike-running-shoe” describes the specific product page.

Each part should clearly describe the content of the page.


HTML and Search Engines

HTML provides instructions for:

  • Text placement
  • Headings
  • Page structure
  • Importance and prominence of content

Search engines read HTML to understand the layout and structure of your page.


Image Alt Text

Search engines cannot see images the way humans do.

Alt text:

  • Describes the image.
  • Helps visually impaired users.
  • Provides additional context to search engines.
  • Appears if an image fails to load.

Best Practices:

  • Describe the image clearly.
  • Use relevant keywords naturally.
  • Avoid keyword stuffing.

Internal Links

Internal links connect one page of your website to another page on your own site.

They:

  • Help users navigate.
  • Provide contextual relevance.
  • Help search engines understand site structure.

Example:

  • Home
  • About Us
  • Contact Us

Internal links are not votes like external links, but they reinforce relevancy within your site.


Keyword Usage and Natural Language Processing (NLP)

Search engines do not simply count keywords anymore.

They use Natural Language Processing (NLP) to:

  • Understand meaning.
  • Interpret context.
  • Identify synonyms and related terms.
  • Mimic human understanding.

For example, a page about football may naturally include words like:

  • Goal
  • Referee
  • World Cup
  • Team

These related words help search engines understand context beyond a single keyword.

Focus on writing naturally for humans.


Sitemaps

There are two types of sitemaps:

HTML Sitemap (For Humans)

  • Located typically in the footer.
  • Displays major site sections.
  • Helps users navigate.

XML Sitemap (For Search Engines)

  • Exists as a separate file on the server.
  • Lists all important URLs.
  • Shows hierarchy and priority.
  • Includes last updated dates.

On-Page SEO Practices to Avoid

Keyword Stuffing

Repeating the same keyword excessively.

  • No longer effective.
  • May lead to penalties.
  • Hurts readability.

Hidden Text

Hiding keyword-heavy text (e.g., white text on white background).

  • Easily detected.
  • Considered deceptive.
  • Can result in penalties.

Repetitive Anchor Text

Over-linking keywords unnecessarily.

  • Disrupts readability.
  • Appears manipulative.
  • No longer effective.

Cloaking

Showing one version of a page to search engines and another to users.

  • Violates guidelines.
  • Can result in removal from search results.

What a Perfectly Optimized Page Looks Like

An ideal optimized page includes:

  • A keyword-focused URL.
  • A compelling page title.
  • Clear meta description.
  • Logical navigation and breadcrumb structure.
  • Proper H1 and subheadings.
  • Contextual keyword usage.
  • Internal links.
  • Image alt text.
  • Clear calls to action.
  • Strong contextual consistency.

All elements work together to send a strong relevancy signal.


Other Important Ranking Factors

On-Page Factors

  • Relevant page title
  • Page headings
  • Anchor text
  • Keyword-based URL
  • Contextual file names
  • Alt text
  • Readable formatting (lists, bullet points, bold text)

Off-Page Factors

  • Number of referring domains
  • Authority of linking domains
  • Relevant anchor text
  • Total backlinks

Domain-Level Factors

  • Domain age
  • Ownership consistency
  • Business legitimacy
  • Social signals

Technical Factors

  • Robots.txt
  • XML sitemap
  • HTTPS protocol
  • Page speed
  • Mobile-friendliness

Google now primarily uses mobile-first indexing.


Behavioral Factors

Search engines also analyze user behavior, including:

  • Brand searches
  • Direct visits
  • Time on page
  • Pages per session
  • Click behavior from search results

These signals help determine whether search results satisfy user intent.


Conclusion

The Two Broad Categories of Ranking Signals:

  • Relevance
  • Popularity

Most Important On-Page Element:

  • Page title

Other Key Elements:

  • Clean URLs
  • Alt text
  • Proper heading structure
  • Internal linking

Avoid:

  • Keyword stuffing
  • Hidden text
  • Repetitive anchor text
  • Cloaking

Natural Language Processing:

NLP helps search engines understand the intent and meaning behind human-written content, rather than just counting keywords.

By focusing on clarity, structure, accessibility, and user experience, you build a strong foundation for effective on-page SEO.


Leave a Reply