HTML5 Tutorials & More

<meta> Tag

The <meta> element provides meta-information about your page, such as descriptions and keywords for search engines and refresh rates.

Supported In HTML4: Yes

Supported In HTML5: Yes

HTML4 vs HTML5 Differences: The scheme attribute is not supported in HTML 5. HTML 5 has a new attribute, charset, which makes it easier to define charset.

Attributes

Title Values Description HTML4 Support HTML5 Support
charset character encoding Defines the character encoding for the document No Yes
content some_text Defines meta information to be associated with http-equiv or name No No
http-equiv content-type expires refresh set-cookie Connects the content attribute to an HTTP header No No
name author description keywords generator revised others Connects the content attribute to a name No No
scheme format/URI No No

Standard Attributes

All standard attributes are supported.

Event Attributes

HTML5 Tags