Meta is the response header message used to simulate an HTTP protocol in an HTML document. Meta
tags are used in
Name property
1, <meta name= "Generator" content= "" to illustrate the generation tools (such as Microsoft FrontPage 4.0), etc.;
2, <meta name= "KEYWords" content= "" to the search engine to explain the keywords of your page;
3, <meta name= "DEscription" content= "" to tell the search engine the main content of your site;
4, <meta name= "Author" content= "Your name" > Tell the search engine the author of your site's production;
5, <meta name= "Robots" content= "All|none|index|noindex|follow|nofollow" >
The properties are described as follows:
Set to all: The file will be retrieved and the link on the page can be queried;
Set to None: The file will not be retrieved, and the link on the page cannot be queried;
Set to index: The file will be retrieved;
Set to follow: links on the page can be queried;
Set to NOINDEX: The file will not be retrieved, but the link on the page can be queried;
Set to Nofollow: The file will not be retrieved and the link on the page can be queried.
Http-equiv Property
1, <meta http-equiv= "Content-type" content= "text/html"; charset=gb_2312-80 ">
and <meta http-equiv= "Content-language" content= "ZH-CN" to illustrate the text and language used in the production of the homepage;
Also such as English is the iso-8859-1 character set, there are BIG5, Utf-8, Shift-jis, Euc, Koi8-2 and other character sets; 2, <meta http-equiv= "Refresh" content= "N;url=http://your" Link "> Timed to allow the page within the specified time of N, jump to the page http;//yourlink;
3, <meta http-equiv= "Expires" content= "mon,12 May 2001 00:20:00 GMT" > can be used to set the expiration time of the Web page, and once it expires, it must be recalled to the server. It is important to note that the GMT time format must be used;
4, <meta http-equiv= "Pragma" content= "No-cache" is used to set the browser from the local computer cache to access the content of the page, after the settings once left the page can not be recalled from the cache;
5, <meta http-equiv= "Set-cookie" content= "mon,12 May 2001 00:20:00 GMT" >cookie set, if the page expires, the cookie will be deleted. It is also important to note that GMT time format must be used;
6, <meta http-equiv= "Pics-label" "" "" "> page rating, Internet Options in IE has a content setting to prevent browsing some restricted sites, and the site's limit is set by the meta-attribute;
7, <meta http-equiv= "Windows-target" content= "_top" > Force the page in the current window with a separate page display, you can prevent their own web page by others as a frame page call;
8, <meta http-equiv= "Page-enter" content= "Revealtrans (duration=10,transtion=50)" and <meta http-equiv= "Page-Exit" C Ontect= "Revealtrans (duration=20,transtion=6)" > Sets the special effect when entering and leaving the page, which is the "Format/page transition" in FrontPage, but the added page cannot be a frame page.
Html--meta Label