HTTP-equiv, as its name implies, is equivalent to an HTTP File Header. It can return some useful information to the browser to help display the webpage content correctly and accurately. The corresponding attribute value is content, content is actually the variable value of each parameter. The syntax of the HTTP-equiv attribute of the meat tag is as follows: <meta http-equiv = "parameter" content = "parameter variable value">. The HTTP-equiv attribute mainly includes the following parameters: 1. expires (TERM) Note: You can set the expiration time of a webpage. Once the webpage expires, it must be re-transmitted to the server. Usage: <meta http-equiv = "expires" content = "wed, 20 Jun 2007 22:33:00 GMT"> Note: The GMT time format must be used. 2. Pragma (Cache Mode) Note: Do you want to prohibit the use of the browser's Ying Jing and Ma Mao mengmeng room? BR> Usage: <meta http-equiv = "Pragma" content = "no-Cache"> Note: in this way, visitors will not be able to browse offline. 3. Refresh) Note: automatically refresh and point to the new page. Usage: <meta http-equiv = "refresh" content = "2; url = http://www.net.cn/"> Note: 2 means that the URL is automatically refreshed after 2 seconds. 4. Set-cookie (cookie setting) Note: If the webpage expires, the cookie on the disk will be deleted. Usage: <meta http-equiv = "Set-cookie" content = "cookievalue = xxx; expires = Wednesday, 20-jun-2007 22:33:00 GMT; Path =/"> Note: The GMT time format must be used. 5. Window-target (display window settings) Note: The Force page is displayed on an independent page in the current window. Usage: <meta http-equiv = "window-target" content = "_ top"> Note: It is used to prevent others from calling their own pages in the framework. 6. Content-Type (display character set setting) Description: sets the character set used on the page. Usage: <meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"> 7. PICs-label (webpage rating) Usage: <meta http-equiv = "pics-label" contect = ""> webpage rating Note: There is a content setting in the Internet option of IE, which can prevent browsing of some restricted websites. The restricted level of websites is set through the meta attribute. There are also page_enter, page_exit ...... Supplement: Set the special effect when entering the page <meta http-equiv = "Page-Enter" contect = "revealtrans (duration = 1.0, Transtion = 12)"> Set the special effect when leaving the page <meta http-equiv = "Page-Exit" contect = "revealtrans (duration = 1.0, Transtion = 12)"> The duration value is the dynamic transition time of the webpage, in seconds. Transition is a transitional mode. Its value ranges from 0 to 23, corresponding to 24 transition modes respectively. See the following table: 0-box contraction 1-box radiation 2 circular contraction 3 circular radiation 4 From bottom up 5 from top down 6 from left to right 7 from right to left 8 vertical blinds 9 horizontal blinds 10 horizontal blinds 11 vertical blinds 12 dissolve at will 13 expand from left and right ends to the middle 14 expand from the center to the left and right sides 15 expand from the up and down ends to the middle 16. expand from the middle to the bottom. 17. expand from the top right to the bottom left. 18 expand from bottom right to top left 19 from top left to bottom right 20. Expand the 21 horizontal lines from the lower left corner to the upper right corner. 22 vertical linear expansion 23 random generation of a transitional mode |