Meta HTTP-EQUIV Properties

Source: Internet
Author: User

HTML browser Iecache search engine
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.
References
the Http-equiv property syntax format for the meat tag is:
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.
    1. <meta http-equiv="expires" content="Wed, 20 Jun 2007 22:33:00 GMT">
Note: The time format of GMT must be used.
 2. Pragma (cache mode)
Note: is used to set the browser from the local computer cache to access the content of the page, once left the page can not be recalled from the cache
    1. <meta http-equiv="Pragma" content="no-cache">
Note: This setting makes it impossible for visitors to browse offline.
 3, Refresh (refreshed)
Description: Automatically refreshes and points to the new page.
    1. <meta http-equiv="Refresh" content="2;URL=http://www.net.cn/">
Note: 2 of these are meant to be automatically refreshed to URL URLs after 2 seconds of stay.
 4. Set-cookie (Cookie setting)
Note: If the page expires, the cookie will be deleted.
    1. <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: Forces the page to appear on a separate page in the current window.
    1. <meta http-equiv="Window-target" content="_top">
Note: Used to prevent others from calling their own pages in the frame.
 6, Content-type (display character set settings)
    1. <meta http-equiv="content-Type" content="text/html; charset=gb2312">
  7, Pics-label (Web level evaluation)
Description: There is a content setting in Internet Options for IE that prevents you from browsing some restricted sites, and the limit level for websites is set by the meta attribute.
    1. <meta http-equiv="Pics-label" content="">
 8, Page_enter, Page_exit
set special effects when entering a page
    1. <meta http-equiv="Page-Enter" content="revealTrans(duration=1.0,transtion= 12)">
set special effects when leaving the page
    1. <meta http-equiv="Page-Exit" content="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 the following table: 0 box-shaped contraction 1 box-shaped radiation 2 round contraction 3 round emission 4 from bottom to top 5 up down 6 from left to right 7 right to left 8 Vertical Blinds 9 Horizontal Blinds 10 Horizontal Lattice Blinds 11 vertical Lattice Blinds 12 free Dissolve 13 from the left and right sides to the middle expansion 14 expand from middle to left, 15 from upper and lower ends to center 16 expand from middle to bottom 17 from the upper right corner to the bottom left 18 from the lower-right corner, expand 19 from the upper-left corner to the lower-right corner 20 Expand 21 horizontal lines from the lower-left corner to the upper-right corner 22 Vertical Linear Expansion 23 randomly produces a transition pattern
9, clear the cache (re-visit this site to re-download!) )
    1. <meta http-equiv="cache-control" content="no-cache">
 10, set the expiration time of the webpage
    1. <meta http-equiv="expires" content="0">
 11, keywords, for the search engine
    1. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
 12. Page description
    1. <meta http-equiv="description" content="This is my page">
 

Meta HTTP-EQUIV Properties

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.