Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Which Meta tags do you use.

Post your <head> to </head>



2:05 pm on Sep 1, 2005 (gmt 0)

10+ Year Member

Interested in the meta tags that you all use, so feel free to post the standard meta tags that you use on your sites...

Heres mine:

<title>page title</title>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META name="keywords" content="widgets">
<META name="Description" content="description">
<META name="robots" content="index,follow">
<META name="copyright" content="my site url">
<META name="author" content="me">
<META name="distribution" content="global">
<META name="rating" content="general">
<LINK REL="SHORTCUT ICON" href="http://www.mysite.com/favicon.ico">
<LINK REL=STYLESHEET TYPE="text/css" HREF="folder/style.css" TITLE="style sheet">


3:44 pm on Sep 1, 2005 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

My recommendation:

<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Should be before the

otherwise the title text might not be displayed in the right charset (although if you are only writing English this is rarely a problem). You can also set the charset server-side and omit the meta tag altogether.

<META name="keywords" content="widgets">
<META name="description" content="description">

That's fine.

<META name="robots" content="index,follow">

Unneccessary as this is the default for all spiders.

<META name="copyright" content="my site url">
<META name="author" content="me">
<META name="distribution" content="global">
<META name="rating" content="general">

Have no real use so you could get rid of these. A PICS label meta might be useful, but that's all.

Add some quotes around "stylesheet", put the attributes in lower case to be 100% certain, and you get:

<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>page title</title>
<META name="keywords" content="widgets">
<META name="description" content="description">
<LINK REL="shortcut icon" href="http://www.example.com/favicon.ico">
<LINK REL="stylesheet" TYPE="text/css" HREF="folder/style.css" TITLE="style sheet">

I wouldn't go for any more than that - stuff other than the basic meta tags are not really worth anything - best to concentrate on what you've got on the page itself. :)


10:35 pm on Sep 2, 2005 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Your document should begin with a !DOCTYPE (this tells the browser what sort of HTML is in the file) followed by the <html> and <head> tags:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

For your page to actually be valid you MUST declare the character encoding (lets the browser know whether to use A to Z letters (latin), or Chinese, Japanese, Thai, or Arabic script, or some other character set) used for the page, with something like:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

There are also other schemes such as UTF-8 and many others.

It is also a good idea to declare what human language the page is in, using:

<meta http-equiv="Content-Language" content="EN-GB">

The language and country codes come from ISO 4217 and ISO 3166. This is useful for online translation tools as well. Change the "en" and "gb" to whatever language and country you need.

You need a <title> element for the page:

<title> Your Title Here </title>

This is displayed at the top of the browser window, and stored as the name of the bookmark if someone bookmarks the page URL in their browser. Most importantly, it is the <title> tag that is indexed and displayed by search engines in the search results page (SERPs).

You need the meta description tag, as this is very important for search engines, and it is useful but not vital to have a meta keywords tag:

<meta name="Description" content=" Your Description Here. ">
<meta name="Keywords" content=" your, keyword, list, here ">

Most search engines do obey the robots meta tag. The default robots action is index, follow (index the page, follow all outbound links) so if you want something else (3 possibilities) then add the robots tag to the page in question. If you want to exclude whole directories then use the robots.txt file for this instead of marking every HTML file with the tag.

<meta name="robots" content="noindex,follow">

The last parts of your header should have your links to external style sheets and external javascript files:

Use this if the stylesheet is for all browsers:

<link type="text/css" rel="stylesheet" src="/path/file.css">

Use this for style sheet that you want to hide from older browsers, as older browsers often crash on seeing CSS:

<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"> @import url(/path/file.css); </style>

Use this for the javascript:

<script type="text/javascript" language="javascript" src="/path/file.js"></script>

End the header with this:


and then continue with the body page code.

It is as simple as that.

Code within the page:

I use: <a href="somepage.html" title="some text here"></a> for links.

I use <img src="somefile.png" alt="some text"> for images.

Headings are done with <hx></hx> tags, properly used from <h1></h1> downwards.


8:20 pm on Sep 4, 2005 (gmt 0)

10+ Year Member

<META name="copyright" content="my site url">

From a legal point of view this has no standing, a url can not own copyright. If you replace the content with your name or business name (or that of your clients) it would be technically correct - even though it is really meaningless as you do not have to state that you own the copyright (see the Berne Convention for more details).


8:31 pm on Sep 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I see all Meta tags as a waste of time. The only Meta tags that I would ever use would be the Keyword and Description tags, all the rest are useless.


11:16 pm on Sep 4, 2005 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Sorry, but that is just not true.

Your document isn't a valid HTML document without a charset declaration, and the <title> tag is the most important of all the tags in the <head> section.

The meta description is important for SEO, and for helping visitors if the text is used as the snippet in the SERPs, but the keywords is very unimportant these days.

You'll also need to link to any CSS and JS files, and you might need a meta robots exclusion on some pages too.


11:42 pm on Sep 4, 2005 (gmt 0)

10+ Year Member

<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-9">
<TITLE>My Meaty Meta</TITLE>
<LINK REV="made" href="mailto:foo@keyword1-keyword2-keyword3.com">
<META NAME="keywords" CONTENT="Meta spam, lots ,too many, etc.">
<META NAME="description" CONTENT="Bunch of Foo FooBar! foobar, foo-bar and Fobar for fooobar">
<META NAME="author" CONTENT="Mr./Mrs./Ms. Foo-Bar-FooBar">
<META NAME="MSSmartTagsPreventParsing" content="PAYMEFIRST">
<META NAME="audience" content="AnyWhoListen">
<META NAME="rating" content="All">
<H1>Just Kidding</H1>

All joking aside; it's unfortunate that meta data has been abused. There should be some kind of validating system in place that visitors can click to confirm content delivered. Wouldn't work either though. I suppose Googles sitemap program is a good start to this kind of check, which kind of renders most meta data irrelevant.


Featured Threads

Hot Threads This Week

Hot Threads This Month