Beyond the required `charset` and `viewport` tags, a handful of **`<meta name="...">`** tags matter specifically for SEO and content control: **`description`** supplies the snippet text search engines often display, **`robots`** controls indexing behavior (`index`/`noindex`, `follow`/`nofollow`), and **`author`** simply credits a page's writer. Search engines treat some meta tags (like `keywords`) as effectively ignored today after years of spam abuse, while others (`description`, `robots`) remain genuinely influential.
1Understanding META Tags
Beyond the required charset and viewport tags, a handful of `<meta name="...">` tags matter specifically for SEO and content control: `description` supplies the snippet text search engines often display, `robots` controls indexing behavior (index/noindex, follow/nofollow), and `author` simply credits a page's writer. Search engines treat some meta tags (like keywords) as effectively ignored today after years of spam abuse, while others (description, robots) remain genuinely influential.
The meta keywords tag is a relic — major search engines stopped using it for ranking decades ago after it was widely abused with irrelevant keyword stuffing. Don't bother maintaining it.
<head>
<meta name="description" content="Free interactive HTML, CSS, and JavaScript tutorials.">
<meta name="robots" content="index, follow">
</head>2Practical Example
Here is a real-world application of META Tags showing how it is used in production HTML.
<!-- Preventing indexing of a thank-you/checkout confirmation page -->
<meta name="robots" content="noindex, nofollow">3Best Practices
Follow these guidelines when working with META Tags:
1. Write a unique, compelling meta description per page (roughly 150-160 characters)
2. Use meta robots content="noindex" deliberately for pages you don't want search engines to index (like internal search results)
3. Skip the meta keywords tag entirely — it has no SEO effect in modern search engines
Tip: The meta keywords tag is a relic — major search engines stopped using it for ranking decades ago after it was widely abused with irrelevant keyword stuffing. Don't bother maintaining it.
<head>
<meta name="description" content="Free interactive HTML, CSS, and JavaScript tutorials.">
<meta name="robots" content="index, follow">
</head>