HTML Meta name attribute


Use the name attribute to define a description, keywords, and the author of an HTML document:
<meta name="description" content="Free Web tutorials" />
<meta name="keywords" content="HTML,CSS,XML,JavaScript" />
<meta name="author" content="Hege Refsnes" />

Definition and Usage

The name attribute provides a name for the information in the content attribute.
The value of the name attribute depends on the value of the content attribute.
If the http-equiv attribute is set, the name attribute should not be set.

Browser Support

The name attribute is supported in all major browsers.


<meta name="value" />

Attribute Values

Value Description
author Defines the author of the document
copyright Defines copyright information of the document
description Defines a description of the document
distribution Defines the distribution level of the document (like "Global")
generator Defines the program used to generate the document
keywords Defines keywords to describe the document
progid Defines the id of a program used to generate the document
rating Defines webpage rating
resource-type Defines the type of the web resource
revisit-after Defines the expected update rate of the web resource
robots Defines rules for robots (web crawlers for search engines)
others You can define your own names in a schema
HTML Meta name attribute Reviewed by 1000sourcecodes on 22:04 Rating: 5
Powered by Blogger.