GrowthPedia

HTML Head Keywords

The HTML <head> is the non-visible part of a page that holds metadata like the title, meta tags, stylesheets, and scripts.

Level: BeginnerRead: 2 minUpdated: 27 Jul 2026By Vera Lindqvist

Key facts

  • The <head> is not displayed in the browser; it contains metadata about the document.
  • Common head elements include <title>, <meta>, <link>, <style>, <script>, and <base>.
  • The <title> element is one of the most important head elements for SEO because it defines the page title shown in browsers and search results.
  • Google has stated that the meta keywords tag is ignored for ranking, so it does not improve search performance.

Also called

head element, document head, metadata container

Use it for

Storing page metadata and technical settings

Applies to

Google / Bing / all search engines

What Goes Inside the HTML Head

The <head> element sits before the <body> in an HTML document. It holds information that helps browsers and search engines understand the page.

Key elements include the title tag, which appears in search results and browser tabs. The meta description length tag provides a summary that may show in snippets.

Other common tags are <meta charset> for character encoding, <meta name="viewport"> for mobile rendering, and <link> for stylesheets or canonical tag.

  • <title> — the page title, critical for SEO and user experience.
  • <meta name="description"> — a brief page summary, used in search snippets.
  • <meta name="robots"> — controls crawling and indexing instructions.
  • <link rel="canonical"> — prevents duplicate content issues.

The Meta Keywords Tag: Why It Does Not Help SEO

The <meta name="keywords"> tag once let authors list keywords for the page. Search engines used it early on, but spammers abused it by stuffing irrelevant terms.

Google stopped using the meta keywords tag for ranking years ago. The company has confirmed this publicly. Bing also ignores it.

Instead, focus on writing a clear seo title wordpress and a compelling meta description. The Meta Keywords HTML tag is ignored by Google.

  • Google does not use meta keywords for ranking.
  • Bing also ignores the tag.
  • The tag remains in HTML specs but has no SEO value.

How to Structure the Head for SEO

A well-structured head helps search engines index your page correctly. Start with the <!DOCTYPE html> declaration, then open the <html> and <head> tags.

Always include a unique <title> and a <meta name="description">. Add <meta charset="utf-8"> and <meta name="viewport" content="width=device-width, initial-scale=1"> for proper rendering.

For technical SEO, use seo html structure best practices. Place seo meta tags like Open Graph or Twitter Card tags inside the head too.

  • Title: unique, descriptive, under 60 characters.
  • Meta description: under 160 characters, includes target keywords naturally.
  • Canonical URL: prevents duplicate content issues.
  • Robots meta tag: controls indexing and link following.

Common Mistakes with HTML Head Elements

Many beginners treat the meta keywords tag as a ranking factor. This mistake wastes time and can lead to keyword stuffing, which looks spammy.

Another error is putting visible page content inside the head. The head is for metadata only; content belongs in the body.

Forgetting essential metadata like charset or viewport can cause rendering issues on mobile devices or with special characters.

  • Using meta keywords for SEO — Google ignores it.
  • Placing body content in the head — breaks page structure.
  • Omitting viewport meta tag — harms mobile usability.
Common HTML Head Elements and Their SEO Role
ElementSEO Role
<title>Primary ranking signal; appears in search results.
<meta name="description">Influences click-through rate; may appear in snippets.
<meta name="keywords">Ignored by Google and Bing.
<link rel="canonical">Prevents duplicate content issues.
<meta name="robots">Controls crawling and indexing.

Common mistakes

  • Treating meta keywords as a ranking factor in Google. Wasted effort; Google ignores the tag entirely.
  • Stuffing dozens of terms into meta keywords instead of writing a concise page title and description. Looks spammy and provides no SEO benefit.
  • Putting visible page content in the head instead of the body. Breaks HTML structure; content may not display or be indexed correctly.

Questions

what is the use of head tag in html

The <head> tag holds metadata about the page, such as the title, character encoding, and links to stylesheets. It is not displayed in the browser but helps search engines and browsers understand and render the page correctly.

does google use meta keywords for ranking

No, Google does not use the meta keywords tag for ranking. The company has confirmed this publicly. Bing also ignores it.

what should i put in the html head for seo

Include a unique <title>, a <meta name="description">, a canonical URL, and a robots meta tag. Avoid the meta keywords tag as it has no SEO value.

See also

Sources

  1. MDN Web Docs — Web page metadata developer.mozilla.org
  2. W3C — HTML5 Document metadata w3.org
  3. Google Search Central developers.google.com

Outbound links are unpaid and nofollow. If one has gone stale, tell me.