<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
        "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML LANG="en-US"><HEAD>
<TITLE>Websnob: META Tag Snob </TITLE>
<base href="http://www.bauser.com/websnob/meta/">
<META NAME="description" CONTENT="">
<!--#exec cgi="/websnob/cgi/head.pl"-->
</HEAD><BODY BGCOLOR="#000000" TEXT="#00FF00" LINK="#0000FF" VLINK="#FF00FF">
<p id="breadcrumbs"><a href="/websnob" rel="Start">Websnob</a> &gt;
<strong><samp>META</samp> Tag Snob</strong></p> 

<p class="advert"><!--#exec cgi="/websnob/adverts/ad_1.pl"--></p>

<h1>The <samp>META</samp> element</h1> 

<p>The <samp>META</samp> element is possibly the least understood and most
abused component of <a href="/websnob/html4/">the Hypertext Markup
Language</a>. Although <samp>META</samp> has been part of <acronym
title="Hypertext Markup Language">HTML</acronym> for nearly a decade, many
users (and would-be teachers) don't appreciate the nuances of <samp>META</samp>
tagging, either neglecting it all together, or weighting down their web
pages with useless extensions of the tag.</p> 

<p>Most references on the <samp>META</samp> element will claim that
<samp>META</samp> exists to "describe your page to search engines", or some
similar oversimplification. The true purpose of <samp>META</samp> tagging is
both more subtle and more expansive than many people realize.</p>

<p>The <samp>META</samp> element exists to provide web authors with an
<em>extensible container</em> for identifying <em>metainformation</em>
about an HTML file. <dfn>Metainformation</dfn> is, as the clich&eacute;
goes, "information about information". Whereas the <samp>BODY</samp> of a
web document contains the information about the subject of the document,
its <samp>META</samp> tags contain <em>information about the document
itself</em>.

<p>Metadata can be used by <em>any</em> entity that has access to it, not
just search engines, so various applications of the <samp>META</samp> tag may
be meant for search engines, browsers, web servers, authoring systems, or
even human readers. To provide the flexiblity necessary for such an
expansive mission, the <samp>META</samp> element itself is designed to be
<em>structured</em> and <em>extensible</em> -- anybody who needs to add a
new kind of metadata to their documents just has to create a name for
it, and use the <samp>META</samp> element to associate the names with
values.</p>

<h2><samp>META</samp> format</h2>

<p>The syntax of the <samp>META</samp> element is very simple. Most of the
time, you just need a tag like this:</p>

<p><code>
&lt;meta name="label" content="data"&gt;
</code></p>

<p>Where <var>label</var> identifies the type of metainformation you're
communicating, and <var>data</var> is the actual metainformation.</p>

<p>In some cases, <samp>name=</samp> is replaced by <samp>http-equiv=</samp>.
 <a href="syntax.html">Technical details of META tag
syntax</a> are available on a separate page.</p>

<h2><samp>META</samp> labels</h2>

<p>As of 2002, there are dozens, possibly hundreds, of different labels
(names) being used to identify metadata on the Web. Creating a catalog of
known labels is an ongoing project here at <cite>Websnob</cite>, but here's
what we have so far, and how we're categorizing them:</p>

<p>The most popular <samp>META</samp> tags are <a href="engines.html">META
tags that try to control search engines</a>. There are only three or four
such tags that have widespread acceptance, but many <a
href="proprietary.html">search engines have proprietary tags</a>. Several
groups have also proposed advanced <a href="schemas.html">metadata
schemas</a> for indexing documents.</p>

<p>The second most common use of <samp>META</samp> tags is to use <a
href="browsers.html">META tags to try to control web browsers</a>. Most of
these tags are used to control browser caching or page presentation.</p>

<p>Somewhere in the fuzzy universe of the <q>wireless web</q>, there are
a bunch of <a href="wireless.html">META tags for the mobile web</a>.</p>

<p>Finally, <a href="useless.html">some META tags are useless</a>. The
useless tags are mostly the product of web authoring software that fills
web pages with useless advertising tags, or encourages authors to make
themselves feel important by adding tags nobody ever sees. A few tags are
simply legends, passed around by authors following poorly-researched design
advice.</p>

<p>There is, of course, <a href="list.html">one big list of known META
tags</a> you can consult to find out the purpose of mystery tags you
encounter on the web.</p>

<p class="advert"><!--#exec cgi="/websnob/adverts/ad_2.pl"--></p>
<!--#exec cgi="/websnob/cgi/menu.pl"-->
<!--#exec cgi="/websnob/cgi/2002"-->
</BODY></HTML>

