HTML : Meta Tag Quick Reference


Summary

<meta tagtype="tagID" content="...">

  tagtype       tagID         content
  ============  ============  ======================================
  name          description   up to ~1k summary of content
  name          keywords      keyword1, keyword2, ...
                              key phrase 1, key phrase 2, ...
  name          robots        [no]index,[no]follow
  http-equiv    refresh       seconds; URL=http://...
                              seconds; http://...
                              note the URL= syntax works in IE6, not bare http
  http-equiv    pragma        no-cache
  http-equiv    cache-control no-cache   (http 1.1 or better)
  http-equiv    expires       (rfc 2068 date stamp), but the useful thing is
                              that invalid values (eg "0") translate as "now"

Client-side Redirect

<meta http-equiv="refresh" content="10; http://jwenet.net">

Convince Robots to Ignore a Webpage

<meta name="robots" content="noindex"> <!-- skip but follow links --> <meta name="robots" content="noindex,nofollow"> <!-- drop dead -->

Tell browsers not to cache a page

<meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="cache-control" content="no-cache"> <!-- http 1.1 -->

probably the first two are the magic ticket


keywords: hypertext markup language
date: 08/01/2005