HTML Basics: Understanding HTTP-EQUIV Properties

Source: Internet
Author: User
Tags format character set
HTML Basics

1, <meta http-equiv= "Content-type" contect= "text/html" charset=gb_2312-80 "> and <meta http-equiv=" Content-language "contect=" ZH-CN "> is used to explain the text and language that the home page is made of, as well as the iso-8859-1 character set, as well as BIG5, Utf-8, Shift-jis, Euc, Koi8-2 and other character sets;

2, <meta http-equiv= "Refresh" content= "N; Url= Http://yourlink ";; >
Timed to make the page in the specified time n seconds, jump to the page http://yourlink;

3, <meta http-equiv= "Expires" contect= "mon,12 May 2001 00:20:00 GMT" > can be used to set the expiration time of the Web page, once expired must be called back to the server. It is important to note that the GMT time format must be used;

4, <meta http-equiv= "Pragma" contect= "No-cache" > is used to set the browser from the local computer cache to access the content of the page, set once away from the Web page can not be removed from the cache;

5, <meta http-equiv= "Set-cookie" contect= "mon,12 may 00:20:00 GMT" >cookie set, if the page expires, save the cookie will be deleted. Attention must also be paid to the use of GMT time format;

6, <meta http-equiv= "Pics-label" contect= "> Web rating, there is a content setting in Internet Options for IE to prevent browsing of restricted sites, And the limit level of the website is set by the meta attribute;

7, <meta http-equiv= "Windows-target" contect= "_top" > Mandatory page in the current window with a separate page display, you can prevent their own web page by others as a frame page call;



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.