The Meta tag in html is not a required tag when you're creating
your web pages; many pages don't use the tag at all, and I must confess that
I've not used it on my home page, although I put it into this page by way of
demonstration. To put it briefly, the meta tag is used by search engines to
allow them to more accurately list your site in their indexes. Sometimes.
If you simply produce your home page and register the URL with a search engine, or a number of search engines, their spider programmes will (eventually) toddle along to your site to index it. Now, each of the search engines does this slightly differently. Altavista for example will grab everything in your document and index it, but will only show the first 250 characters in its description. Consequently, if your site included say, 'Thanks to:....' right at the beginning, this is what Altavista would show in its description, and it wouldn't give the viewer any idea of what your site actually covered. Of course, not all search engines work this way; I'd suggest you ferret around a little bit to see exactly how the popular engines work, and certainly the major two or three such as Altavista, Lycos, Yahoo, Infoseek and Excite. It therefore makes sense to ensure that your opening paragraph is carefully written to ensure it accurately reflects what your site covers.
However, you may be able to exert a certain amount of control over how your site is indexed by the use of the meta tag. (I should however point out that not all search engines will use this tag - Altavista does, but Excite doesn't, for example. Its not a total cure-all therefore, but you won't miss out by putting the tag in, and it may well work well in some cases.
You should insert the meta tag element at the top of your document, just
after the <TITLE> element. It follows the usual form of tags,
<META name="something" content="something else">
but note that you don't have to have a </META> at the end of the tag, the way that you do with something like <BOLD> bold </BOLD>. However, make sure that each tag does not include any line breaks, since some search engines get a little bit tetchy about this.
There are basically four major meta tags that you can use:
Yup, theres a whole bunch of 'em. I've put in a couple of examples below:
There are a few others that you can include, such as "revisit-after" and "rating" if you want to be really comprehensive.
There is no need to index every single file that you've got on your site
- just choose a few representative samples.
The description tag should not simply restate the title of the page, it should describe the page.
The tag can also be used in the creation of dynamic documents, and when I've explored this a little bit further, I'll add more information on this.
What - you mean all my hard work above isn't enough for you? OK. Some sites that I've identified that might be of further use are:
Yes, there are a few of these things about. One that I've been told of
is at http://www.hisoftware.com/taggen.htm.
I've not tried it out myself, but it looks interesting. I'm currently
downloading a trial version, to see what its like. I'll let you know.
http://www.ukoln.ac.uk/metadata/dcdot/ This site will automatically try and generate meta tags based on the Dublin core for you. Seems to work well, though its a little enthusiastic about the number of keywords it generates!
Can I put my competitors name(s) in my meta tags?
Sounds like a good idea when you first think of it doesn't it? I mean, if you put your competitors names in your meta tags, and someone searches for them, they may find you instead and buy a product from you, rather than them. Unfortunately, life isn't that simple. In the UK (where I'm based) there are laws against passing yourself off as another company - I wouldn't get very far if I tried to open a shop called Harrods, for example. You'll find that putting in meta tags is probably going to be regarded in exactly the same way by the British courts. (Please bear in mind here that I'm not a lawyer, and I'm not giving legal advice; this is just my opinion.)
I suspect that you'll find the same thing in other countries around the world, and you'll end up in a whole bunch of trouble if you try and do it. Of course, there is nothing to stop you stressing the products themselves that you sell, in common with that of your competitors, in your meta tags and you may find that this works rather better than putting in their names anyway!
Should I use commas or not?
Some people do, some people don't. I've yet to be convinced that either is the best approach. For what its worth, I do.
I use AOL, and I'm having difficulty putting in meta tags. How do I
Can't help with that one, I'm afraid. Since I'm not an AOL person, I can't get access to their authoring tool, so I don't know how it works. I have had a lot of people asking me this one, so its a problem that a lot of people have - you're not alone! All I can suggest is that you contact AOL technical support and see if they can come up with something to help. However, I've also had people writing to me saying that AOL technical staff don't know the answer themselves!
Since writing this I've had a very helpful email regarding this problem and am including it below; it should sort out any problems!
I noticed a query about AOL users including metatags in their home page. If they use the automated approach, they won't be able to. However, they can FTP into their site, following the instructions for advanced users, download the home page from the folder "myhomepage" (it will be called something like "aboutme.html"), open the file in a text editor, and insert metatags to their heart's content. They can then upload that file back into the folder on aol (I think that will over-write, without having to delete the original first).
Many thanks Gerry!
Should I put meta tags on every page, or just meta tags on the home
or index page?
Put them on every page that you create and publish. The search engines will find all your pages and if you want to stand a good chance of them ranking your pages highly, you'll want to put the meta tag element on each of them.
Can I write and ask you questions about meta tags?
Sure! If I can answer them for you I'd be happy to do so. I can't always provide answers, but I'll do my best. Alternatively, you might like to post them to my guestbook page, so that everyone else can see the question/answer.
Then I'd encourage you to visit my home page which contains a lot of other information on writing and designing web pages, searching the Internet and so on. I'll guarentee you'll find other material that will be useful to you!
It's hopefully because I've given permission for this article to be
used. However, this isn't always the case, I'm sad to say. Take a look
http://www.web-promotion-resource-tutorials.com/tags.html This is a page produced by a company that likes to think that it's producing tutorials for web designers. What it's actually doing is stealing work from people such as myself and putting it onto the net as though it's their own. As you can tell - I'm not best pleased!
If you have anything to add to what I've written about the meta tag, any corrections or other links that you think would be useful please send me email.