The meta element represents various kinds of metadata that cannot be expressed
using the title, base, link, style, and
script elements.
Exactly one of the following attributes must be specified.
name
http-equiv
charset
If either name or http-equiv is specified, then the
content attribute must also be
specified
Otherwise, it must be omitted
Syntax
Example
<meta charset="utf-8">
It is important that the character encoding declaration appears early in the document as
most browsers will try to determine the character encoding from the first 1,024 bytes of a
file (Coulson)
Short and accurate summary of the content of the page.
Several browsers, like Firefox and Opera, use this as the default description
of bookmarked pages.
Google does NOT use the meta keyword tag but DOES use the meta
description tag
Example
<meta name="keywords" content="my,keywords">
Words relevant to the page's content separated by commas
The attribute is named http-equiv(alent) because all the allowed values are names of
particular HTTP headers
The following keywords may be used
content-language
content-type
default-style
refresh
set-cookie
If http-equiv represents one of the above states,
then the user agent must run the algorithm appropriate for that state
The meta element with a http-equiv attribute whose value is
"default-style" represents a
pragma directive that specifies the document's preferred stylesheet.
The content value of
http-equiv="default-style" content="Value"must refer to the
title attribute of a stylesheet (either external or internal),
otherwise css styling will break
refresh
Positive integer. The number of seconds until page reloads/redirects