How to Put SEO Keywords in Website: Placement in Headings, Meta Tags & Alt Text

Introduction

If you have ever wondered why some websites appear on the first page of Google while others seem invisible, the answer often comes down to one thing: SEO keywords. But knowing which keywords to target is only half the battle. The other half is knowing exactly where and how to place those keywords on your website.

This guide answers the question many website owners and beginners ask: how to put SEO keywords in a website effectively? You will learn the most important keyword placement locations, what each one does, why it matters for search engines, and how to use keywords naturally without overdoing it.

Whether you are building your first website or trying to improve an existing one, this article will walk you through every key placement strategy in a simple, easy-to-follow way.

What Are SEO Keywords and Why Do They Matter?

SEO keywords are the words and phrases that people type into search engines like Google when they are looking for information, products, or services. For example, if someone wants to buy running shoes online, they might type “best running shoes for beginners” into the search bar. That phrase is a keyword.

When you place relevant keywords throughout your website, you are essentially telling search engines what your pages are about. Search engines like Google use complex algorithms to read, understand, and rank web pages. One of the main signals they look for is whether a page contains the words and phrases that match what the user is searching for.

However, it is not just about stuffing keywords everywhere. Search engines have become very smart. They look at where your keywords are placed, how naturally they fit into the content, and how relevant the overall page is to the search query. This is why strategic keyword placement is so important.

The Most Important Keyword Placement Locations on Your Website

There are several specific areas of a web page where keyword placement has the biggest impact on your search rankings. Let us explore each one in detail.

1. Page Title Tag (Title Tag)

What Is a Title Tag?

The title tag is the clickable blue text you see in Google search results. It is also shown in the browser tab at the top of your screen when you open a web page. Although users can see it, the title tag is actually written in the HTML code of your page inside a <title> element.

Why the Title Tag Matters for SEO

The title tag is widely considered one of the most important on-page SEO factors. Google reads your title tag to understand what the page is about. If your primary keyword appears in the title tag, search engines immediately get a clear signal about your page’s topic.

Not only does the title tag help search engines, but it also influences whether a user clicks on your result. A well-written title with the right keyword naturally included will attract more clicks.

How to Use Keywords in Your Title Tag

Here are the key rules to follow:

  • Place your primary keyword as close to the beginning of the title as possible.
  • Keep the title between 50 and 60 characters so it does not get cut off in search results.
  • Make the title read naturally and be appealing to human readers, not just search engines.
  • Avoid using the same title tag on multiple pages; each page should have a unique title.

Example: If your target keyword is “best home workout routines,” a good title would be: “Best Home Workout Routines for Beginners | FitLife Blog”

2. Meta Description Tag

What Is a Meta Description?

The meta description is the short paragraph of text that appears below the clickable title in Google’s search results. It gives searchers a brief preview of what your page is about. Like the title tag, it is written in the HTML head section of your page and is not visible on the actual webpage itself, only in search engine results.

Does the Meta Description Directly Affect Rankings?

Technically, Google has stated that the meta description is not a direct ranking factor. However, it plays a very important indirect role. A well-crafted meta description that includes your keyword can significantly increase your click-through rate (CTR), meaning more people will click on your link when they see it. A higher CTR sends positive signals to Google, which can indirectly improve your rankings over time.

Also, when a user’s search term matches text in your meta description, Google will bold that text in the results. This makes your listing stand out more and draw the reader’s eye.

How to Write a Good Meta Description with Keywords

  • Keep it between 150 and 160 characters to avoid being cut off.
  • Include your primary keyword naturally within the first sentence or two.
  • Write it as a compelling summary that encourages users to click.
  • Each page should have a unique meta description.

Example: “Discover the best home workout routines designed for beginners. No equipment needed. Build strength, lose weight, and stay fit from the comfort of your home.”

3. Headings (H1, H2, H3 Tags)

What Are Heading Tags?

Heading tags are HTML elements used to structure the content on a web page. They range from H1 (the most important) to H6 (the least important). Think of them like the outline of a book: H1 is the main chapter title, H2 tags are section headings within that chapter, and H3 tags are subsections.

The H1 Tag: Your Most Important Heading

Every page on your website should have exactly one H1 tag. It is the main headline of your page and is the first thing both users and search engines read. Your primary keyword should always appear in the H1 tag. This confirms to Google what the central topic of the page is.

Example H1: “Best Home Workout Routines for Beginners”

H2 and H3 Tags: Subheadings That Support Your Topic

H2 and H3 tags are used to break up your content into sections and subsections. These are great places to include secondary keywords, related phrases, and variations of your primary keyword. Using keywords in H2 and H3 tags helps search engines understand the full breadth of topics covered on your page.

For example, on a page about home workout routines, your H2 tags might be:

  • “Beginner Workout Routines Without Equipment”
  • “How to Create a Home Gym on a Budget”
  • “Best Exercises for Weight Loss at Home”

Each of these subheadings contains a related keyword phrase that supports the main topic, enriches the page’s relevance, and makes the content easier to navigate for readers.

4. URL Slug (Web Address)

The URL slug is the part of the web address that comes after the domain name. For example, in the URL www.example.com/best-home-workout-routines, the slug is “best-home-workout-routines.” Including your primary keyword in the URL slug is a simple but effective way to signal your page’s topic to search engines.

Tips for keyword-friendly URLs:

  • Use hyphens to separate words (not underscores or spaces).
  • Keep the URL short and descriptive.
  • Include your primary keyword.
  • Avoid using numbers, random characters, or unnecessary words like “and” or “the.”

Good URL: www.fitnessblog.com/home-workout-routines-beginners   Bad URL: www.fitnessblog.com/page123?id=456

5. Body Content (Main Text of the Page)

Why Body Content Is the Heart of SEO Keywords

The main written content of your page is where most of your keyword usage will naturally occur. Google reads every word on your page to understand its topic, depth, and relevance. Using your keywords throughout the body content in a natural, reader-friendly way is essential for good SEO performance.

Where to Place Keywords in Body Content

There are several strategic spots within the body text where keywords should appear:

  1. First paragraph: Include your primary keyword within the first 100 words of your content. This early placement is very important because search engines give more weight to keywords that appear near the top of the page.
  2. Throughout the article: Spread your primary keyword naturally throughout the content, roughly every 200 to 300 words, without forcing it.
  3. Last paragraph: Mentioning your keyword in the conclusion or closing paragraph reinforces the page’s topic to search engines.
  4. Use LSI keywords: Latent Semantic Indexing (LSI) keywords are related terms and synonyms that are contextually connected to your main keyword. For example, if your main keyword is “home workout routines,” LSI keywords might include “exercise at home,” “no-equipment workouts,” “daily fitness routine,” and “bodyweight exercises.”

Keyword Density: How Many Times Should You Use Keywords?

Keyword density refers to how often your keyword appears as a percentage of the total word count. While there is no exact perfect percentage, most SEO experts recommend aiming for a keyword density of around 1% to 2%. For a 1000-word article, this means your primary keyword should appear roughly 10 to 20 times. However, always prioritize natural-sounding content over hitting a specific number.

Important warning: Keyword stuffing, the practice of unnaturally repeating keywords over and over, is penalized by Google. It makes content difficult to read and signals low-quality content to search engines. Always write for your human readers first, and let keywords fit in naturally.

6. Image Alt Text

What Is Alt Text?

Alt text (short for alternative text) is a written description of an image that is added to the HTML code of a webpage. It was originally created to help visually impaired users who use screen readers, but it has also become an important part of image SEO.

Search engines cannot actually “see” images the way humans do. Instead, they read the alt text to understand what an image shows. This is why adding descriptive, keyword-rich alt text to every image on your website is so important.

How to Write Good Alt Text for SEO

  • Describe the image accurately and specifically. What is literally shown in the image?
  • Include your target keyword naturally if it is genuinely relevant to what the image shows.
  • Keep alt text concise, ideally under 125 characters.
  • Do not start with “Image of” or “Photo of” as these phrases are redundant. Screen readers already announce that it is an image.

Consider a blog post about home workout routines that includes a photo of a person doing push-ups at home. Here is how alt text quality compares:

QualityAlt Text ExampleWhy
Poorimage1.jpgNo description, no keyword
OkayPerson doing push-upsDescriptive but no keyword
BestPerson doing push-ups as part of a home workout routine for beginnersAccurate, natural keyword included

7. Image File Names

Most people upload images with generic names like “IMG_4521.jpg” or “photo1.png.” This is a missed SEO opportunity. Before uploading any image, rename it to include a descriptive keyword phrase.

Instead of: IMG_4521.jpg  |  Use: home-workout-routine-beginners.jpg

Use hyphens between words and make the name descriptive and relevant to both the image and the page content. Search engines index image file names when crawling a page, so this is a quick, easy win for your SEO strategy.

8. Internal Links and Anchor Text

When you link from one page of your website to another, the clickable text of that link is called anchor text. Using descriptive, keyword-relevant anchor text helps search engines understand what the linked page is about and strengthens the SEO value of the linked page.

For example:

  • Weak anchor text: “Click here” – tells search engines nothing about the destination page.
  • Strong anchor text: “Read our guide on home workout routines for beginners” – clearly signals the topic of the linked page.

Good internal linking with descriptive anchor text helps distribute SEO value across your website and allows search engines to better understand the relationships between your pages.

9. First 100 Words of the Page

Search engine crawlers pay close attention to the beginning of your content. Placing your primary keyword within the first 100 words of your main body text is considered a strong on-page SEO practice. It quickly confirms to both the reader and search engines that the content is directly relevant to the keyword topic.

This does not mean your first sentence has to awkwardly start with the keyword. Instead, it should flow naturally in the opening paragraph as you introduce the topic and set the context.

10. Meta Keywords Tag (Mostly Outdated)

There used to be a special HTML tag called the meta keywords tag where website owners would list their target keywords. However, major search engines like Google no longer use this tag as a ranking signal. It was heavily abused in the early days of SEO, leading Google to stop considering it.

You do not need to worry about filling in meta keywords for modern SEO. Focus your efforts on the title tag, meta description, headings, body content, and alt text instead.

How to Avoid Common Keyword Placement Mistakes

Even when you understand where to place keywords, it is easy to make mistakes that can hurt your rankings rather than help them. Here are the most common keyword placement errors and how to avoid them.

Mistake 1: Keyword Stuffing

Keyword stuffing is the practice of overloading your content with keywords in an unnatural way. This might have worked in the early 2000s, but Google now penalizes it. Not only does it look spammy to readers, but it signals to Google that your content is low quality. Always write for your readers first and let keywords appear naturally.

Mistake 2: Using Only One Keyword Variation

Modern search engines are sophisticated enough to understand synonyms and variations of a keyword. If your keyword is “home workout routines,” you do not need to repeat that exact phrase every time. Use variations like “exercises at home,” “workout plan for home,” or “fitness routine at home.” This makes your content read more naturally and helps you rank for multiple related search queries.

Mistake 3: Ignoring Alt Text for Images

Many website owners completely skip adding alt text to images, leaving a significant SEO opportunity on the table. Every image on your website is an additional opportunity to include a relevant keyword and improve your page’s overall relevance. Make it a habit to write descriptive alt text for every image you upload.

Mistake 4: Missing Keywords in Headings

Some people write all their headings as generic labels like “Introduction,” “Section 1,” or “Tips.” This misses a valuable opportunity to reinforce your page’s keyword relevance. Use descriptive, keyword-rich headings that tell both search engines and readers exactly what each section covers.

Mistake 5: Using the Same Title Tag and H1

While your title tag and H1 can be similar, many SEO experts recommend making them slightly different. The title tag is optimized for search engines and click-through rates, while the H1 is written for the reader on the page. They can both include your primary keyword, but varying the phrasing slightly adds more keyword coverage and improves readability.

A Practical Step-by-Step Keyword Placement Checklist

Before publishing any page or blog post, use this checklist to ensure your keywords are properly placed:

  1. Title Tag: Does your title tag include the primary keyword, ideally near the beginning, within 60 characters?
  2. Meta Description: Does your meta description include the primary keyword naturally and is it between 150 to 160 characters?
  3. H1 Tag: Is there exactly one H1 on the page that includes the primary keyword?
  4. H2/H3 Tags: Do subheadings include secondary keywords and related phrases?
  5. URL Slug: Does the page URL include the primary keyword with hyphens?
  6. First 100 Words: Does the primary keyword appear naturally within the first 100 words of the body content?
  7. Body Content: Are keywords distributed naturally throughout the content with appropriate density (1 to 2%) and LSI keywords included?
  8. Image Alt Text: Do all images have descriptive alt text that naturally includes keywords where relevant?
  9. Image File Names: Are image file names descriptive and keyword-friendly?
  10. Internal Links: Are internal links using descriptive keyword-relevant anchor text?

Understanding Search Intent: The Foundation of Good Keyword Placement

Before you focus too much on where to place keywords, it is important to understand why the person is searching for that keyword in the first place. This is called search intent, and it is one of the most critical factors in modern SEO.

Search intent falls into four main categories: informational (the user wants to learn something), navigational (the user wants to find a specific website), commercial (the user is researching before buying), and transactional (the user wants to make a purchase).

If someone searches for “how to do push-ups correctly,” their intent is informational. They want a helpful guide, not a product page. If you create a product page and try to rank it for that keyword, Google will likely push it down in the results because it does not match what the user is looking for.

Always match your content type and format to the search intent behind the keyword. This is not just good SEO practice – it also results in better user experience, lower bounce rates, and more time spent on your page, all of which send positive signals to Google.

Long-Tail Keywords and Where to Place Them

Long-tail keywords are longer, more specific keyword phrases that typically have lower search volume but higher conversion rates and less competition. For example, “workout routines” is a broad keyword, while “15-minute beginner home workout routine for weight loss” is a long-tail keyword.

Long-tail keywords are particularly valuable for new or smaller websites because they are much easier to rank for than highly competitive short-tail keywords. Here is how to place them effectively:

  • Use long-tail keywords as the focus of blog posts and articles.
  • Include them in subheadings (H2 and H3) where they naturally fit.
  • Use them to answer specific questions within FAQ sections of your content.
  • Target long-tail keywords in blog posts, FAQ pages, and how-to guides where the specific detail matches the query.

Technical Locations: Schema Markup and Structured Data

For more advanced SEO, schema markup is a form of structured data added to your website’s HTML code that helps search engines understand your content more clearly. It uses a standardized vocabulary to label different types of content such as articles, recipes, products, events, and reviews.

While schema markup does not directly boost your keyword rankings in the traditional sense, it helps search engines better understand the context and subject matter of your pages. This can lead to rich snippets in search results, which are enhanced listings that show extra information such as star ratings, prices, or event dates. Rich snippets can dramatically increase your click-through rate.

If you are using WordPress, plugins like Yoast SEO or Rank Math can help you add schema markup without needing to write code manually.

How Keywords Work Differently Across Page Types

Not every page on your website should be treated the same way when it comes to keywords. Different page types have different goals and therefore different keyword strategies.

Homepage

Your homepage is the face of your website. It should target your most broad, brand-level keywords. Focus on communicating what your site or business is about clearly and concisely. Use your primary keyword in the title tag, H1, and the first paragraph.

Service and Product Pages

Each product or service page should target a specific keyword related to that product or service. These pages should include the keyword in the title, H1, product description, meta description, alt text of product images, and the URL.

Blog Posts and Articles

Blog posts are ideal for targeting long-tail keywords and informational queries. They should follow all the keyword placement guidelines described in this article: keywords in title, H1, H2 and H3 subheadings, first paragraph, throughout the body text, alt text, image names, and URL.

Category and Archive Pages

For websites with lots of content, category pages group related posts or products together. Use a broad keyword for the category page itself and add a short descriptive paragraph at the top of the page that includes that keyword naturally.

Tools That Help You Place Keywords Effectively

Several tools can help you identify the best keywords to target and ensure you are placing them properly. Here are some of the most widely used ones:

  • Google Search Console: A free tool by Google that shows you which keywords are already bringing traffic to your site and how your pages are performing in search results.
  • Google Keyword Planner: Part of Google Ads, this free tool helps you discover new keyword ideas and see how often they are searched.
  • Yoast SEO (WordPress Plugin): This plugin analyzes your content and gives you real-time feedback on keyword usage, readability, meta descriptions, title tags, and more.
  • Ahrefs and SEMrush: These are paid but powerful tools for in-depth keyword research, competitor analysis, and tracking your keyword rankings.
  • Ubersuggest: A user-friendly, partially free tool great for beginners that provides keyword suggestions, search volume data, and content ideas.

Conclusion

Learning how to put SEO keywords in a website is one of the most important and foundational skills you can develop as a website owner, blogger, or digital marketer. It is not about tricking search engines or finding loopholes – it is about clearly communicating the relevance and value of your content through strategic, natural keyword placement.

To summarize, the most important places to place your keywords are the title tag, meta description, H1 heading, H2 and H3 subheadings, URL slug, first 100 words of body content, throughout the body text naturally, image alt text, image file names, and internal link anchor text. Each of these locations sends a specific signal to search engines about your page’s topic and relevance.

Always remember: the goal of SEO is to serve your readers better. When you create genuinely helpful, well-written content and place keywords thoughtfully in the right locations, you are giving your website the best possible chance to rank well, attract the right visitors, and ultimately achieve your goals.

Start small. Pick one page or blog post, apply the keyword placement checklist in this guide, and watch what happens over the following weeks. SEO is a long-term game, but every well-optimized page you create builds a stronger foundation for your website’s visibility and success.

About the Author

Jay Patel is the Founder of XSquareSEO, a full-service SEO agency with experience in on-page SEOeCommerce SEOlink buildingtechnical SEOSaaS SEO, and local SEO. For more information, feel free to contact us

Explore More Guides

Best Keyword Research Tools
Types of SEO Keywords
Keyword Research for Organic Traffic
Free Long Tail Keyword Generator
Google Keyword Planner Guide
Check Keyword Cannibalization Ahrefs
Keyword Research in Ahrefs
Multi-Location Keyword Research
PPC Keyword Research Guide
Find Trending SEO Keywords

Scroll to Top