name attribute (meta)
Sets the name given to the meta information. Use it with the content attribute attribute to create a well-defined meta tag.
JavaScript page for this attribute: name. You can find other example(s) there. |
Possible values:
String that sets a predefined type or a type defined by the user.
The following are predefined types:
Defines a secondary description. | ||||||||||||||||||||||||||||
Records the name of the author of the document.
<meta name="author" content="dottoro.com" />
|
||||||||||||||||||||||||||||
Classify the site into the appropriate category. | ||||||||||||||||||||||||||||
Used to include copyright information into the document.
<meta name="copyright" content="© 2009 Dottoro.com" />
|
||||||||||||||||||||||||||||
Some search engines pick up this description to show with the results of searches.
<meta name="description" content="...Help page for meta tag..." />
|
||||||||||||||||||||||||||||
Declares whether the document is available to the web or on an intranet.
<meta name="distribution" content="web" />
|
||||||||||||||||||||||||||||
Indicates completion status of the document. | ||||||||||||||||||||||||||||
Indicates copyright status of the document. | ||||||||||||||||||||||||||||
Specifies the type of the document. | ||||||||||||||||||||||||||||
The associated content attribute determines what buttons are visible on the File Download dialog box. | ||||||||||||||||||||||||||||
Specifies the date and time when the page expires.
<meta name="expires" content="Wed, 9 Nov 2011 12:00:00 GMT" />
|
||||||||||||||||||||||||||||
The name of the program that created the document. | ||||||||||||||||||||||||||||
This is an addition to the robots META Command, it informs only the Google search engine about indexing, archiving and link following rules.
<meta name="googlebot" content="noarchive" />
|
||||||||||||||||||||||||||||
Informs search engines what your web site or page is about. It is recommended to always specify this type of meta, because it is
needed by search engines to catalogize the page.
<meta name="keywords" content="help, html help, JavaScript help, CSS help, manual ..." />
|
||||||||||||||||||||||||||||
Use this tag to prevent any Microsoft product from automatically generating smart tags. | ||||||||||||||||||||||||||||
The name of the document. | ||||||||||||||||||||||||||||
Defines the owner of the page or site. | ||||||||||||||||||||||||||||
Indicates of the document's default editor | ||||||||||||||||||||||||||||
A simple rating for a site. | ||||||||||||||||||||||||||||
Indicates that the document displays for a specified amount of time before switching to a new URL or refreshing the current page.
Useful for redirecting browsers to other pages, or to refresh the current page (news page).
<meta name="refresh" content="15" />
<meta name="refresh" content="15;URL=http://www.dottoro.com" />
|
||||||||||||||||||||||||||||
Email address of a contact for the document. | ||||||||||||||||||||||||||||
Indicates the type of web resource. | ||||||||||||||||||||||||||||
Defines how often search engine spiders should revisit your site. | ||||||||||||||||||||||||||||
Defines page indexing mechanisms for robots, search engine indexing and link following rules. The content attribute should contain a comma separated list of the following values:
<meta name="robots" content="ALL" />
<meta name="robots" content="INDEX,NOFOLLOW" />
|
||||||||||||||||||||||||||||
The associated content attribute specifies the location of the template used to edit the document. |
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the name attribute:
|
|||
<head> <meta name="author" content="dottoro.com" /> <meta name="copyright" content="© 2009 Dottoro.com" /> <meta name="description" content="...Help page for meta tag..." /> <meta name="robots" content="ALL" /> </head> |
|||
|
|||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
User Contributed Comments