HTML <meta> name Attribute
HTML <meta> tag
Example
Use the name attribute to define a description, keywords, and the author of an HTML document:
<head>
<meta name="description" content="Free Web tutorials" />
<meta name="keywords" content="HTML,CSS,XML,JavaScript" />
<meta name="author" content="Hege Refsnes" />
</head> |
Try it yourself »
|
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.
Syntax
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> tag
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|