Section 3.3. Meta Information


3.3. Meta Information

Meta information, sometimes called meta tags for short, is a mechanism you can use to provide information about a web page.

The term derives from the Greek word meta, which means "behind" or "hidden." "Meta" refers to the aspect of something that is not immediately visible, perhaps because it is in the background, but which is there nonetheless and has an impact.


The most common meta tags provide a description and keywords for telling a search engine what your web site and pages are all about. Each meta tag begins with a name attribute that says what the meta tag represents. The meta tag:

     <meta name="description" ...></meta> 

means that this tag will provide descriptive information. The meta tag:

     <meta name="keywords" ...></meta> 

means that the tag will provide keywords.

The description and keywords go within a content attribute in the meta tag. For example, here's a meta description tag (often simply called the meta description):

     <meta name="description" content="Quality information, articles about     a variety of topics ranging from Photoshop,     programming to business, and investing."></meta> 

Keywords are provided in a comma-delimited list. For example:

     <meta name="keywords" content="Photoshop, Wi-Fi,     wireless networking, programming, C#, business, investing, writing,     digital photography, eBay, pregnancy, information"></meta> 

More About Meta Tags

Meta tags can contain a lot more than just descriptions and keywords, including (but not limited to) a technical description of the kind of content on a page and even the character encoding used:

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

Additionally, you've already seen how meta tags can instruct search engine bots on what to index in "Meta Robot Tags," earlier in this chapter.


It's easy for anyone to put any meta tag keywords and description they'd like in a page's HTML code. This has lead to abuse when the meta tag information does not really reflect page content. Therefore, meta tag keyword and description information is deprecated by search engine indexing software and not as heavily relied upon by search engines as it used to be. But it is still worth getting your meta tag keywords and descriptions right.

In Chapter 2, I explained how to create a short (one- or two-sentence) elevator pitch for your web site. The meta description is a perfect use for this elevator pitch. Be aware that your meta description may be what searchers see displayed for your site, particularly if your site doesn't have much text on the page.

Google will try to pick up page descriptions from text towards the beginning of a page, but if this is not availablefor example, because the page consists of graphics and has no textit will look at the information provided in the content attribute of a meta description.


Meta keywords should be limited to a dozen or so terms. Don't load up the proverbial kitchen sink. Think hard about the keywords that you'd like to lead to your site when visitors search (See "Pages and Keywords," later in this chapter).

For the keywords that are really significant to your site, you should include both single and plural forms, as well as any variants. For example, a site about photography might well want to include both "photograph" and "photography" as meta tags.

If you want to include a phrase containing more than one term in your keyword list, quote it. For example: "digital photography." However, there is not much point in including a compound term if the words in the phrase ("digital" and "photography") are already included as keywords.


For example, the home page of Digital Photography: Digital Field Guide shown in Figure 3-4 doesn't have much text, but it does have a lot of images.

Here's the meta tag information included in the HTML source code for the home page for the Digital Photography: Digital Field Guide site:

     <meta name="description" content="Digital photography by Harold Davis:     examples: techniques: companion site for book:     site constructed with Flickr API">     </meta>     <meta name="keywords" content="Digital, photography, photographs,     photograph, field, guide, flickr, slide, camera, digital camera,     tripod, filter, photo, processing">     </meta> 

Since Google's software can't find what this page is about except by reading the meta description, because the page is almost all images with no text, the meta description is what shows up when the site is part of Google's search results (see Figure 3-5). The moral: if there aren't very many words on your page, pick your meta description and keywords with special care.

Figure 3-4. Meta description information is particularly important when your web site or page doesn't have much text (like this home page)


Figure 3-5. In this example, Google simply took the meta description verbatim since it couldn't find a description on the page itself




Google Advertising Tools. Cashing in with AdSense, AdWords, and the Google APIs
Google Advertising Tools: Cashing in with Adsense, Adwords, and the Google APIs
ISBN: 0596101082
EAN: 2147483647
Year: 2004
Pages: 145
Authors: Harold Davis

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net