Http-equiv, as the name implies, is equivalent to the HTTP file header function, it can send back some useful information to the browser to help correct and accurate display of the content of the Web page, and the corresponding property value of content,content content is actually the variable value of each parameter. The Http-equiv property syntax format for the meat tag is: <meta http-equiv= "parameter" content= "parameter variable value", where the Http-equiv attribute mainly has the following parameters: 1, Expires (term) Description: Can be used to set the expiration time of a Web page. Once the page expires, it must be retransmitted to the server. Usage: <meta http-equiv= "Expires" content= "Wed, June 22:33:00 GMT" > Note: The time format of GMT must be used. 2, Pragma (cache mode) Description: is used to disable the browser from the local computer cache to access the page content, set once left the page can not be recalled from the cache usage: <meta http-equiv= "Pragma" content= " No-cache "> Note: This setting makes it impossible for visitors to browse offline. 3. Refresh Description: Automatically refreshes and points to the new page. Usage: <meta http-equiv= "Refresh" content= "2;url=http://www.net.cn/" > Note: 2 of them are automatically refreshed to URL URLs after 2 seconds of stay. 4, Set-cookie (cookie setting) Description: If the page expires, then 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: The time format of GMT must be used. 5, Window-target (display window settings) Description: Force the page in the current window as a separate page display. Usage: <meta http-equiv= "Window-target" content= "_top" > Note: Used to prevent others from invoking their own pages in the frame. 6. Content-type (setting of the display character set) Description: Sets the character set used by the page. Usage: <meta http-equiv= "Content-type" content="text/html;charset=gb2312" >7, Pics-label (page rating) Usage: <Metahttp-equiv= "Pics-label"contect="">8, Page_enter, Page_exit set the special effect when entering the page<Metahttp-equiv= "Page-enter"contect= "Revealtrans (duration=1.0,transtion=12)">set special effects when leaving the page<Metahttp-equiv= "Page-exit"contect= "Revealtrans (duration=1.0,transtion=12)">the value of duration is the time, in seconds, that the page dynamically transitions. Transition is the transition mode, which has a value of 0 to 23, corresponding to 24 transition modes respectively. As shown in the table below: 0 box-shaped contraction 1 box-shaped emission 2 round contraction 3 round radiation 4 from bottom to top 5 up to 6 from left to right 7 right to left 8 vertical shutters 9 water Flat Blinds 10 Horizontal lattice Blinds 11 Vertical lattice Blinds 12 free dissolve 13 from left and right ends to middle expand 14 from center to left, expand 15 from upper and lower ends to middle expand 16 from top to bottom up 17 from top right corner to left Expand 18 from the lower-right corner, expand 19 from the upper-left corner to the lower-right corner 20 expand from the lower-left corner to the top-right corner 21 horizontal line expansion 22 Vertical linear expansion 23 randomly produces a transition mode description: Inter in IE NET option, there is a content setting that prevents you from browsing some restricted sites, and the limit level of a site is set by the meta attribute. 9, clear the cache (re-visit this site to re-download!) )<Metahttp-equiv= "Cache-control"content= "No-cache">10, set the expiration time of the webpage<Metahttp-equiv= "Expires"content= "0">11, keywords, for the search engine<Metahttp-equiv= "keywords"content= "Keyword1,keyword2,keyword3">12. Page description<Metahttp-equiv= "description"content= "This is my page">
Meta HTTP-EQUIV Properties