Last Updated: June 2008.
META tags are a way to describe a page in HTML, invisibly to the user. Many search engines either do not use them at all, or give them little weight. However, they still have their uses and can provide a boost to your search engine placement.
The trick to using them well is to understand what they do, and providing the best possible information within them. It is important to realise as well that changing or adding META tags will not turn your website into a gold mine overnight, but as part of a well formed SEO strategy, they can certainly help.
There are many people who say you should only ever add two or three META tags to your site. There are those who say you should add hundreds. The simple fact is that there are many that could be appropriate to your site, and you should judge each of them on its individual merit.
META tags all go within the HEAD section of your site. That is to say, within the <head> and </head> tags.
<html>
<head>
META Tags and Title go here
</head>
<body>
Main page content goes here
</body>
</html>
Index
- The Title Tag
Absolutely invaluable. - The Description Tag
Useful if used correctly - The Keywords Tag
Becoming less useful, but may be worth adding. - The Robots Tag
Can be useful in the right circumstances. - The Content-Type, Content-Style-Type and Content-Language Tags
Can be useful in the right circumstances. - The Refresh Tag
Can be useful in the right circumstances. - The Pragma Tag
Can be useful in the right circumstances. - The Revisit-After and Expires Tags
Usually useless, unless you actually want to put the spiders off for a certain period of time. - Useless Tags
Useless all the time, unsurprisingly. - ICRA Label
Useful
The Title Tag
<title>Search Engine Optimization > Meta Tags - AddedBytes.com</title>
The TITLE tag is NOT a META tag. But it does contain metadata, and it is the most important tag on a page and is closely related to them, so I am including it here.
Title tags are displayed in the top of a browser window, and are often used as a link from search engine results listings, so form them well. They should be descriptive and short (ideally under 70 characters), and they are also often used as bookmark titles, so it is important that you ensure your primary keyword phrase for a page is here, and that the title makes sense all by itself.
The Description Tag
<meta name="description" content="An article about META tags and how to use them effectively to boost your search engine placement.">
This is one of the few META tags that can be considered important. The text within this is displayed by some search engines as the description to your site. A description tag should usually be kept to under around 150 - 200 characters and it is important to ensure that this tag reads well, and that it describes the page accurately.
There is no point in telling the user that your page contains thousands of pictures of Alicia Silverstone in lacy underwear if when they arrive on the page they see nothing but a sales pitch for tinned goulash. An extreme example, perhaps, but does demonstrate the point that it is better to have visitors who are interested in your product or content than those who aren't. Numbers are unimportant if they don't convert to sales, and this will help to qualify your visitors before they arrive.
The Keywords Tag
<meta name="keywords" content="meta tags search engine optimization description keywords title">
Fairly self explanatory, this tag is used to list keywords for your page. These are words you think are relevant to your page - words that if entered into a search engine should return your site. Search engines do not pay much attention to this, if any, as it has been abused for many years, but some do still use it to some small extent, so you may consider it worth adding.
Try to limit yourself to as few keywords as possible (the less keywords you list, the more weight each will likely have), certainly no more than 25, and list them with nothing more than spaces between (some people use commas, however this is no longer necessary). There is also no need to repeat the words listed.
As has been widely reported on the web, this tag is not used by many engines, if at all, and you would be wise to spend your time optimising and improving your site in other ways rather than waste time on this particular tag, in my humble opinion.
The Robots Tag
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, follow">
<meta name="robots" content="index, nofollow">
<meta name="robots" content="noindex, nofollow">
The ROBOTS META tag is one that is very often used when it should not be. The four variations listed above are four of the more common variations in use, and each accomplishes a different task. Never use this tag unless you wish to prevent a search engine spider from doing something. That's what it's there for.
The first of the examples listed above is completely worthless. If you have it on your site, go and delete it. That tag does nothing more than tell a search engine spider to behave exactly as it normally does. It does not benefit a site, does not get you crawled faster or more often, and will not suddenly make your site more popular than Google.
The second of these can be useful, for example on printer-friendly pages (where the content on the page is a duplicate of the original). This tag tells a search engine spider not to list the page it is viewing, but to follow the links away from the page anyway. The third of these is the reverse of the above, and tells a spider to list a page in it's results but not to follow the links on the page. Both of these have their uses, but these are very rare, so think carefully before adding these before you do.
The last tag tells a spider not to index a page or follow the links on it. It is extremely rare that you would want to use this (why would anyone want a page on the web that people cannot find?) but is included for the sake of completeness (some people use this for login pages or other similar pages they do not want listed).
There are more instructions you can add to this tag, the most notable of which is NOARCHIVE. This simply tells a search engine spider not to serve archived copies of the page to people viewing the search engine results (for example, Google offer a cached copy of sites in search results, and this will prevent Google from doing so). The tag to add to only prevent search engines making archived copies of your site publically available is:
<meta name="robots" content="noarchive">
The Content-Type, Content-Style-Type and Content-Language Tags
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="content-language" content="en-GB">
These are again quite common on some sites, and again have their uses. It is a wise idea if you are using an unusual language or style to mention it here, but by no means essential, as with most META tags. The W3C provide a more comprehensive resource for [url=http://www.w3.org/International/O-charset.html]character set information[/url], so if you do wish to use this, I recommend that as a good place to start reading.
Meta tags that use the "http-equiv" attribute rather than the "name" attribute, like these, allow you define within a document something that would usually be defined in HTTP headers (sent by your server). If you have no control over the headers sent with your web pages, but still need to define a content type or content style type (and so on), these are the tags you are looking for.
The Refresh Tag
<meta http-equiv="refresh" content="60">
<meta http-equiv="refresh" content="3; URL=http://www.addedbytes.com/">
Most useful on a chat page, or when a page has moved, this instructs a browser to refresh the page after a certain interval of seconds. If the second half of the content attribute is a URL, the refresh will take the user to the URL specified rather than simply refresh the current page. This can be, and sometimes is, used mischievously to prevent a user from clicking their back button to leave a page, something likely to annoy visitors enough that they may never return.
The Pragma Tag
<meta http-equiv="pragma" content="no-cache">
Not very widely used, this tag asks a browser not to cache a page. Though this can be useful if a page on your site is frequently updated (for example a news site or a forum), it will often just increase your bandwidth bills and slow down your users' browsing experience. There is also no guarantee that a browser will pay attention to it.
Interestingly enough though, Microsoft recommend that if you do want to use this, you add the tag in a second HEAD at the end of the document, like so:
<html>
<head>
<title>Document</title>
</head>
<body>
Content
</body>
<head>
<meta http-equiv="pragma" content="no-cache">
</head>
</html>
The Revisit-After and Expires Tags
<meta name="Revisit-After" content="30 days">
<meta http-equiv="expires" content="Mon, 03 Nov 2003 01:23:45 GMT">
There are a huge number of sites that say you should add the first of these to your site, because it tells search engine spiders how often to index your page. Which is a common misconception. The tag was created by SearchBC, who have said they no longer use it. Originally, it was created as a tool to suggest to the spider how often a page should be indexed. Few have ever been able to agree on the format of the tag. At the end of the day, remember that the search engines do not care how often you want them to index your pages - they will index as and when they feel like it. Some are clever enough to have a rough idea of how often you update your site, and will make use of that. Some are not that bright, and will come around when the mood takes them.
Assuming you are happy for the spiders to index your site as often as possible, as most people are, you would do well to leave this out. The spiders will return to your site as often as they deem fit, and the only way to influence the frequency this occurs at is to just keep adding new content on a regular basis.
The "Expires" tag tells browsers and search engine spiders when the document should be considered expired. This is worth using, of course, if there is a date on which the relevant document will be no longer valid. However, at this time, the search engines will often drop the page from their index - you should use the "Expires" tag only if this is what you want.
Useless Tags
<meta name="generator" content="EditPlus2">
<meta name="copyright" content="AddedBytes.com">
<meta name="author" content="Dave Child">
A select few engines sometimes make small use of a select few of these, but most of these (and the others to be found on this [url=http://www.bauser.com/websnob/meta/useless.html]list of useless META tags[/url]) are better placed on a page, or not used at all. Most of these are added automatically by HTML editors, and some are added by over-zealous META tag addicts. In my opinion, these are best avoided, as they do little more than clutter up your code.
ICRA Label
<meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline EN v2.0" l gen true for "http://www.addedbytes.com" r (nz 1 vz 1 lc 1 oz 1 cz 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.addedbytes.com" r (n 0 s 0 v 0 l 1))'>
Last but not least, something a little more unusual. The ICRA (Internet Content Rating Association) is an ideal I am happy to support, as they provide a means for helping webmasters to identify their content as suitable (or not) for certain age groups.
Simply put, you can visit their [url=http://www.icra.org/_en/label/extended/]label generator[/url] and tell the generator what your site contains. That data can then be used to help keep any content not appropriate for young eyes away from them. The data is used by some search engines and some browsers can be set to avoid pages without labels.

28 Comments
The following is a tag that only Googlebot will understand, and this will prevent just Google from serving cached copies of your pages: <META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">
#1, Dave Child, United Kingdom, 23 April 2004. Reply to this.
Great article, Dave.
Nice overview if you're still trying to learn the basics.
I was wondering if you might comment further with regard to the best way to present keywords. I've seen some say it's better to separate keywords using commas, to use plurals, capitalization, etc. Is there any one 'right' way to do it?
I've also heard mention that Google, for example, ignores this tag, as it is easily abused. I guess, like Chicken Soup, it can't hurt.
#2, Garrick Saito, United States, 13 June 2004. Reply to this.
Nice site you have here, great tutorials too.
Quick question: Why do you escape the attributes with the character "\"?
#3, RavenStrider, Singapore, 15 July 2004. Reply to this.
Very well spotted! Actually, tht was caused by a modification I made to bBlog to allow for line numbers on code on the page. The code I used escaped the quote marks, and I didn't spot it. It's been resolved now though.
Garrick, personally I prefer no separation between keywords and no repetition, all lower case. I don't suppose it makes a great deal of difference, to be honest - I'd be surprised if engines didn't just strip out commas.
#4, Dave Child, United Kingdom, 15 July 2004. Reply to this.
Could you please explain the difference between meta name and meta http-equiv? Are they interchangeable?
#5, jon power, United Kingdom, 21 November 2004. Reply to this.
Hi jon.
META http-equiv tags are a way to represent things normally specified with HTTP headers. On some servers you don't have access to headers, so this provides an alternative way to set environmental variables - though should always be avoided when possible.
Meta name tags are "proper" meta tags, providing information about the content of a document, like a description or relevant keywords.
#6, Dave Child, United Kingdom, 22 November 2004. Reply to this.
I don't agree with this statement:
************************************************************
<meta name="robots" content="index, follow">
The first of the examples listed above is completely worthless. If you have it on your site, go and delete it. That tag does nothing more than tell a search engine spider to behave exactly as it normally does. It does not benefit a site, does not get you crawled faster or more often, and will not suddenly make your site more popular than Google.
************************************************************
One of my sites was not being indexed by google. It has been months since I submitted it. I decided to add this tag and it was indexed a couple days after.
#7, Joe, United States, 31 July 2006. Reply to this.
Joe, the search engine can't see that tag until it after it has visited your site in the first place.
Spiders will index everything they see unless told otherwise, or unless they are unable to. Telling them to do so is redundant.
#8, Dave Child, United Kingdom, 31 July 2006. Reply to this.
Just wanted to show a page that creates more than enough meta tags for anyone to want.
The whole thing is made super fast via javascript fyi:
http://www.secretcasinoclub.dk/webmaster.php?aq=meta_generator
#9, Loke Hansen, Denmark, 18 May 2007. Reply to this.
its still true that META description can aid your listing tho not really as part of SEO but replacing the scraped or worse, dmoz description of your site in the serps... tip: get your phone number in there!!!
#10, mark rushworth, United Kingdom, 27 September 2007. Reply to this.
I would like to know what difference would it make by using "echo site url" within the meta tags because one of my website goes with this.
#11, raand, Australia, 8 November 2007. Reply to this.
<meta name="robots" content="index, follow">
The first of the examples listed above is completely worthless. If you have it on your site, go and delete it. That tag does nothing more than tell a search engine spider to behave exactly as it normally does. It does not benefit a site, does not get you crawled faster or more often, and will not suddenly make your site more popular than Google.
*****************************************
I am a beginner of SEO, i have the same situation like Joe who is giving you comment the above. Now i am searching way to let SE to index my site, and my i didn't include the <meta name="robots" content="index, follow"> , i wonder i want to add this meta tag or not? is there any negative effect of my side if i added it?
#12, Winson Ng, Singapore, 2 December 2007. Reply to this.
Negative effect? Probably not. Positive effect? Definitely not. Forget the tag and go get yourself some decent links.
#13, Dave Child, United Kingdom, 3 December 2007. Reply to this.
How much these tags are important.if we provide enough inbound and out bound linking the site will be in top.that's my opinion.how ever we still use meta tags.
#14, manoranjan, India, 22 July 2008. Reply to this.
Good article. Could you please update it with newer Context-Types
#15, Richard Yelaun, USA, 17 September 2008. Reply to this.
Dave - Great article....
The link to the useless tags gives a 404. I was looking forward to seeing it :-)
#16, Murali, India, 26 October 2008. Reply to this.
Your German Readers see www.html-metatags.de
#17, Html Metatags, Germany, 9 November 2008. Reply to this.
Do we still have to mention meta keyword tags? Can't we forget them? :)
#18, Rimian, Australia, 17 January 2009. Reply to this.
Thanks for the resource, are there other meta tags not mentioned above?
#19, Addweb, South Africa, 8 February 2009. Reply to this.
Well-researched and educative. But Dave do you think it would hurt a site if one doesn't place an ICRA Label on it?
#20, Mexabet, Australia, 15 February 2009. Reply to this.
That's a very comprehensive explanation of Meta tags, we need to revisit ours I think, thanks for going to the effort of researching and writing this.
#21, Gulet, United Kingdom, 31 March 2009. Reply to this.
I fully agree with you on the importance of titles, stick to 70 characters and have unique ones for each page. It's what is displayed in a SERP so it's your sales pitch - don't mess it up
Also page urls should be fully descriptive too.
Meta keywords is ignored unless you stuff it full of hundreds of them, then I believe search engines will think your site is junk and penalise you.
#22, Roxbourne, United Kingdom, 31 March 2009. Reply to this.
Yo, recently i change all my title and description. The ranking of my side was increase. I believe the title play a very import role in on Page optimization
#23, Malaysia Tractor, Singapore, 5 May 2009. Reply to this.
the importance is paramount, great post
#24, web design leeds, UK, 22 May 2009. Reply to this.
It looks so simple, but it also very important for SEO
#25, xex, IT, 12 July 2009. Reply to this.
thats an awesome post Dave, really very helpful for a newbie like me. also what would you suggest for Kywords, would love to hear what you have to say for putting the keywords in.
#26, My Article Network, Unknown, 14 July 2009. Reply to this.
wow this is some brilliant stuff! Thanks.
#27, Stefan, Unknown, 19 July 2009. Reply to this.
Thank you for this good written overview about meta tags. We were able to rework our meta tags with your guide. Thank you.
#28, Peter Schmuck, Germany, 1 November 2009. Reply to this.