Reprinted: https: //www.iteye.com/blog/kinglyhum-827807
http-equiv name suggests, the equivalent of the http header action, it may return some useful information to the browser to help correct and accurate display Web content, the corresponding attribute value content, the content is actually the content of each variable parameter.
1, Expires (period)
Note: You can set the expiration time for the web page. Once the website expired, must be re-transmitted to the server.
usage:
-
<meta http-equiv="expires" content="Wed, 20 Jun 2007 22:33:00 GMT">
Note: You must use the time format GMT.
2, Pragma (cache mode)
Description: The browser is used to set prohibit access to the contents of page cache from the local machine, after setting once you leave the page will no longer be recalled from the Cache
Usage:
-
<meta http-equiv="Pragma" content="no-cache">
Note: this setting, visitors will not be able to browse offline.
3, Refresh (refresh)
Description: automatic refresh and point to the new page.
usage:
-
<meta http-equiv="Refresh" content="2;URL=http://www.net.cn/">
Note: two of which refers to the automatic refresh URL address to stay after 2 seconds.
4, Set-Cookie (cookie settings)
Description: If the page expired, then archiving the cookie will be deleted.
usage:
-
<meta http-equiv="Set-Cookie" content="cookievalue=xxx;expires=Wednesday, 20-Jun-2007 22:33:00 GMT; path=/">
Note: You must use the time format GMT.
5, Window-target (display window settings)
Description: force the page displayed in the current window to separate page.
usage:
-
<meta http-equiv="Window-target" content="_top">
Note: to prevent other people to call its own page in the framework.
6, content-Type (Display Character Set)
Description: setting the character set used by the page.
usage:
-
<meta http-equiv="content-Type" content="text/html; charset=gb2312">
7, Pics-label (page rating)
Usage:
-
<meta http-equiv="Pics-label" content="">
Description: There is an element of the set IE's internet options, you can prevent some websites restricted, while the level of restriction sites is through meta attribute set.
8, Page_Enter, Page_Exit
set of special effects into the page
-
<meta http-equiv="Page-Enter" content="revealTrans(duration=1.0,transtion= 12)">
Set special effects when leaving the page
-
<meta http-equiv="Page-Exit" content="revealTrans(duration=1.0,transtion= 12)">
Duration of the dynamic pages is the transition time in seconds.
Transition is a transition, it has a value from 0 to 23, corresponding to 24 kinds of mode transition. As follows:
0 1 the box-shaped box-like contraction of the radiation
2 3 circular circular radially contracted
upward by the lower 4 5 downward by the upper
6 from left to right from right to left 7
8 9 vertical blinds horizontal louver
10 horizontal lattice shutters 11 vertical lattice louver
12 is unwound from freely dissolved 13 to the intermediate left and right ends
14 expand from the middle to the left and right ends to the upper and lower ends 15 expand from intermediate
16 expand from the middle to upper and lower ends 17 to expand from the upper right to the lower left corner
18 from expand the lower right corner to the upper left corner from the top left to lower right 19 expand
20 21 level linear expansion from the lower left to the upper right corner to expand
22 vertical linear expansion 23 to produce a random transition mode
9, clear the cache (and then re-visit the site to download !)
-
<meta http-equiv="cache-control" content="no-cache">
10, set the expiration time of the page
-
<meta http-equiv="expires" content="0">
11, keywords, search engine used to
-
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
12. Page Description
-
<meta http-equiv="description" content="This is my page">