The meta
element is a generic mechanism for specifying metadata for a Web page. Some search engines use this information.
<head>
<title>XHTML Reference</title>
<meta name="description" content="XHTML Strict / 1.1 Quick Reference Guide" />
<meta name="keywords" content="xhtml, css, markup, xml, html" />
</head>
Basic
content
- (Text) The property's value.
name
- (NameToken) Property name. This attribute is required.
Advanced
http-equiv
- (NameToken) This attribute may be used in place of the
name
attribute. Web servers use this attribute to gather information for HTTP response message headers. scheme
- (Text) This attribute, used in conjunction with the
profile
attribute in the head
element, names a scheme to be used to interpret the property's value.
Common internationalization attributes
xml:lang
- (NameToken) This attribute specifies the base language of an element's attribute values and text content.
dir
This attribute specifies the base direction of text. Possible values:
ltr
: Left-to-rightrtl
: Right-to-left