Meta tags are meta elements in the <head> of an HTML page. They carry information for browsers and search engines that does not appear in the visible content, such as a page description, the character set or instructions for indexing.
Which meta tags does Google support?
Google lists a limited set in its documentation:
descriptionoffers a page summary that Google sometimes uses in the snippet.robotsandgooglebotcontrol crawling and indexing.robotsapplies to all search engines,googlebotonly to Google.viewporttells the browser how to render the page on mobile devices.charset(or Content-Type) sets the character set. UTF-8 is recommended.google-site-verificationverifies ownership in Search Console.notranslatestops Google from offering translations,nopagereadaloudblocks its read-aloud services.ratingmarks adult content for SafeSearch.refreshredirects after a delay, but Google recommends a server-side 301 redirect instead.
Google states that the meta keywords tag is not used by Google Search and has no effect on indexing and ranking. Other values, such as next and prev link relations, are also not supported.
The title element sits in the same <head> and is often listed with meta tags, but technically it is a separate element. Open Graph tags for social networks are written as meta elements as well.
Example
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A short summary of the page in one or two sentences.">
<meta name="robots" content="noindex">
</head>
Common mistakes
- The same description on many pages.
- A
noindexfrom a staging site that stays in the code after launch. - Relying on the keywords tag, which Google ignores.
FAQ
Are meta tags still useful? Several are. The robots tag, the viewport tag and the description have effects in Google Search as listed above. Others, such as keywords, have none.
Which meta tags are most important? Google does not rank them. In practice the robots tag matters for indexing, and the description can shape the snippet.
Sources
- Meta tags that Google understands – Google Search Centraldevelopers.google.com
- Meta Tags in SEO: the Ultimate Guide – Conductor (secondary)conductor.com
- Using a META tag to block bots from indexing a webpage – InMotion Hosting (secondary)inmotionhosting.com
- HTML Standard (WHATWG) – The title and meta elementshtml.spec.whatwg.org
Last updated: