Extensible HyperText Markup Language

meta

Definition

The meta element is a generic mechanism for specifying metadata for a Web page. Some search engines use this information.

Example

  1. <head>
  2. <title>XHTML Reference</title>
  3. <meta name="description" content="XHTML Strict / 1.1 Quick Reference Guide" />
  4. <meta name="keywords" content="xhtml, css, markup, xml, html" />
  5. </head>

Attributes

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-right
  • rtl: Right-to-left

Contains

  • Nothing

XStandard XHTML WYSIWYG editor
A standards-compliant WYSIWYG editor component for content management applications. The editor generates valid XHTML and uses CSS for formatting. Free version is available.

Check out XStandard