Home   Forums          

[NFORMATION] Meta Tags

How-To's , Tutorials and Video Tutorials. Feel free to request How-To's here as well.

[NFORMATION] Meta Tags

Postby chiên » Tue Mar 15, 2011 3:38 am

Description Meta Tag
Code: Select all
<meta name="description" content="About 255 words describing your site" />

The Description Meta Tag should contain a coherent description of the page, and should contain words that are located within the page content.
-------------
Keywords Meta Tag
Code: Select all
<meta name="keywords" content="Kewords seperated by commas, like that, see, easy, huh" />

For best results, select 12 of the most popular and relevant keywords to that particular page, ideally keyword phrases of 2 to 3 words, separated by a comma. Ensure that the keywords you use are located in the title, description and content of the page. If they are not, DO NOT add extra words, otherwise the theme of your page will be watered down. The ordering also plays a role, make sure you order the keywords in order of importance. The 1st being the most important. Use the Trellian keyword research and search term suggestion tool, it is crucial in identifying what search terms to use.
--------------
Copyright Meta Tag
Code: Select all
<meta name="copyright" content="(C) WHATEVER I WANT - 2010" />

The Copyright Meta Tag is used to indicate that your information is copy righted.
ie Copyright YourBusiness - 2010
-------------
Author Meta Tag
Code: Select all
<meta name="author" content="WEBMASTER OR COMPANY NAME" />

The Author Meta Tag is used to insert a name of the webmaster or company.
----------------
Email and Contact Meta Tag
Code: Select all
<meta name="email" content="SAMPLE@test.com" />
<meta name="contact" content="emailaddress@domainname.com" />

The email us used to display the relevant contact address.
-----------
Language Meta Tag
Code: Select all
<meta http-equiv="content-language" content="en-us" />

The Language Meta Tag is utilized by regional search engines.
------------
Character Set Meta Tag
Code: Select all
<meta name="Charset" content="UTF-8" />

The Charset Meta Tag is used to tell the browser which character set to use.
-----------
Distribution Meta Tag
Code: Select all
<meta name="Distribution" content="Global" />

The Distribution Meta Tag is used to tell search engines whether the page is global or locally oriented.
General values are "Local" and "Global"
----------
The Rating Meta Tag is used to set an audience content rating.
Code: Select all
<meta name="Rating" content="General" />

----------
Robots Meta Tag
Code: Select all
<meta name="Robots" content="INDEX,FOLLOW" />

The Robots Meta Tag is used to tell search engines whether to index and/or crawl a page or not.
An Interesting tag attribute introduced by Yahoo inc.
Code: Select all
<div class="robots-nocontent">ANYTHING WITHIN THIS ELEMENT WILL NOT BE INDEXED</div>

----------
Revisit Meta Tag
Code: Select all
<meta name="Revisit-after" content="1 Day" />

The Revisit Meta Tag is used to tell search engines when to come back next.
Commonly used attributes are "1 Day", "2 Days", "7 Days", "14 Days", "21 Days", and "31 Days".
------------
Expires Meta Tag
Code: Select all
<meta http-equiv="expires" content="Wed, 21 June 2006 14:25:27 GMT">

The Expires Meta Tag is used to tell search engines when when the page and content is no longer valid. You always write the date in this format DAY, DD/MM/YYYY 24HR Timezone
------------
Content Type Meta Tag
Code: Select all
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

This Meta Tag is used to tell the browser/search engine what format to render your page and with what charset.
----------
Pragma Meta Tag
Code: Select all
<meta http-equiv="pragma" content="no-cache" />

Tells the browser/search engine not to cache the site. Useful for if your site updates alot.
--------
Content Style Type Meta Tag
Code: Select all
<meta http-equiv="content-style-type" content="text/css" />

Tells the Search Engine and your browser that you use a style sheet in the CSS language or XLST.
Content Script Type Meta Tag
Code: Select all
<meta http-equiv="content-script-type" content="text/javascript" />

Tell your browser and search engine to reconize <script> tags as javascript.
The proper use for the content would be "application/javascript" and "application/x-javascript" but these values may cause issues with MSIE.
---------
ImageToolBar Meta Tag
Code: Select all
<meta http-equiv="imagetoolbar" content="no" />

This meta tag is used to facilitate how to handle images and photos when you use Internet Exlorer. If you want your images and photos to be visible constantly, it is best not to use this meta tag.
---------
Resource-Type Meta Tag
Code: Select all
<meta name="resource-type" content="document" />

The only value in use to my knowlegde is "document" there may be others but i sugguest that you use "document".
---------
Generator and Formatter Meta Tags
Code: Select all
<meta name="generator" content="Dreamweaver" />
<meta name="formatter" content="Dreamweaver" />

These two tags just tell what program you used to create and format your webpage.
-------
GoogleBot Meta Tag
Code: Select all
<meta name="googlebot" content="noodp" />

(NOTE-You now tell the Googlebot NOT to duplicate the ODP description but the description which is located on your website.)

Sometimes an old meta tag, the description tag, remains in the index of Google. Despite the fact that you change relevant information on your website and submit this to Google, the old description remains in the Google search results. Yahoo and Live will index the new information, Google won't.
--------
No-Email-Collection Meta Tag
Code: Select all
<meta name="no-email-collection" content="link or terms" />

The meta tags no-email-collection is an unspam.com initiative. Sure, the die-hard spammer wil not be stopped by this tag. This tag is mainly used to have a statement on your website: we don't want you to harvest our email-address.

And if you have this statement on your website you are able to complain about spam harvesting and spam runs. In the USA you can even start a lawsuit.

This is why the meta tag contains a link to the page with your statement regarding spam runs and harvesting.
---------------
Reply-To Meta Tag
Code: Select all
<meta name="reply-to" content="SAMPLE@WEBMASTER.COM" />


By adding the email address of your web master in the REPLY-TO tag you are able to explain how people can contact the right person in your organization who is responsible for your website.

-----------
X-UA-Compatible Meta Tag

Tells the browser to render the page in a certain backwards or simply a compatibility mode.

Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />


META SAMPLE
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-us" xml:lang="en-us">
<head>
<title>A Cool Website</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="Wed, 21 June 2006 14:25:27 GMT">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="en-us" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="description" content="description" />
<meta name="abstract" content="Summary of Description">
<meta name="keywords" content="keyword" />
<meta name="copyright" content="(C)" />
<meta name="author" content="author" />
<meta name="generator" content="program used IE Notepad" />
<meta name="formatter" content="program used IE Notepad" />
<meta name="email" content="email@email.com" />
<meta name="contact" content="emailaddress@domainname.com" />
<meta name="reply-to" content="SAMPLE@WEBMASTER.COM">
<meta name="Charset" content="UTF-8" />
<meta name="googlebot" content="noodp" />
<meta name="no-email-collection" content="link or terms" />
<meta name="Distribution" content="Global" />
<meta name="Rating" content="General" />
<meta name="Robots" content="INDEX,FOLLOW" />
<meta name="Revisit-after" content="1 Day" />
</head>
<body dir="ltr">
<p>CONTENT</p>
</body>
</html>
Where dreams meet fantasy.....
chiên
 
Posts: 10
Joined: Sun Feb 27, 2011 7:30 am
Location: Somewhere

Return to Tutorials and How-To's

cron