Although search engines are paying less and less attention to the mate tag in html pages, it is still an indispensable part.
Now I will tell you about the usage and function of mate tags:
Meta tags are generally used between <head> and </head> in web pages. There are many types of meta tags. The ones that are used more frequently in our web design include keywords, description, etc. There are two types of meta properties: name and http-equiv. Name is mainly used to describe web pages, corresponding to content (web page content), so that search engine robots can search and crawl. The most important of these are description and keywords, so you should add a meta value to each page.
The most commonly used ones are as follows:
<meta name="keywords" contact=" ""> Explain the keywords of your web page to search engines;
<meta name="description" contact=""> Tell search engines the main content of your site;
<meta name="author" contact="your name"> Tell search engines who the webmaster or author of your site is;
<meta name="Generator" contact=""> Used to illustrate web page generation tools (such as Microsoft FrontPage 4.0), etc.;
http-equiv attribute
<meta http-equiv="Content-Type" content="text/html";charset=gb_2312-80"> and <meta http-equiv="Content-Language" contact="zh-CN"> are used to explain the text and language used in homepage production; for example, the English is the ISO-8859-1 character set, and BIG5, utf-8, shift-Jis, Euc, Koi8-2 and other character sets;
<meta http-equiv="Refresh" contact="n;url=http://yourlink" > Let the web page jump to the page within the specified time n at a specified time n http;//yourlink;
<meta http-equiv="Expires" contact="Mon,12 May 2001 00:20:00 GMT"> It can be used to set the expiration time of the web page. Once it expires, it must be called on the server again. It should be noted that the GMT time format must be used;
<meta http-equiv="Pragma" contact="no-cache"> is used to set the browser to prohibit the page content from the local cache, and once the browser leaves the web page, it cannot be called out from the cache again;
<meta http-equiv="set-cookie" contact="Mon,12 May 2001 00:20:00 GMT"> cookie setting, if the web page expires, the saved cookie will be deleted. It is also necessary to use the GMT time format;
<meta http-equiv="Pics-label" contact=""> Web page rating, there is a content setting in the Internet options of IE, which can prevent browsing some restricted websites, and the restriction level of the website is set through the meta attribute;
<meta http-equiv="windows-Target" contact="_top"> Force the page to be displayed as an independent page in the current window, which can prevent your web page from being called by others as a frame page;