A good memory is better than a rotten pen. Meta attribute and meaning in 62-html

Source: Internet
Author: User
Tags microsoft frontpage

Recently want to understand some of the HTML meta in some things, a lot of things are not clear, in the Internet search, found a lot of is wrong, I simply tidy up a bit.

Meta is the response header message used to simulate an HTTP protocol in an HTML document. Meta tags are used for Web pages<head>And</head>, meta tags are useful. There are two types of meta attributes: Name and HTTP-EQUIV. The name attribute is primarily used to describe web pages, which correspond to content (Web pages), so that search engines can be searched and categorized (the main search engines use online robots to automatically find meta values to categorize Web pages). The most important of these is description (site description) and Keywords (site classification), and the general recommendation should be to add a meta value to each page. More commonly used are the following: Name property 1,<meta name="Generator" content= "">To describe the build tool (such as Microsoft FrontPage 4.0), 2,<meta name="KEYWords" content = "">To the search engine to explain the keywords of your page; 3.<meta name="DEscription" content = "">Tell the search engine the main content of your site; 4.<meta name="Author" content ="Your name">Tell the search engine the author of your site's production; 5.<meta name="Robots" content = "all | None| Index| Noindex| Follow| nofollow">The properties are described as follows: set to all: The file will be retrieved, and the link on the page can be queried; set to none: The file will not be retrieved, and the link on the page cannot be queried; set to index: The file will be retrieved; set to follow: the link on the page can be queried;   For NOINDEX: The file will not be retrieved, but the link on the page can be queried; set to nofollow: The file will not be retrieved and the link on the page can be queried. HTTP-EQUIV Properties 1,<meta http-equiv="Content-type" Content ="text/html"; Charset=gb_2312-80 ">And<meta http-equiv="Content-language" Content ="ZH-CN" >To illustrate the text and language used in the production of the homepage, as well as the iso-8859-1 character set in English, as well as the BIG5, Utf-8, Shift-jis, Euc, Koi8-2 and other character sets; 2.<meta http-equiv="Refresh" content ="n;url=http:// Www.yourlink ">Timed to let the page within the specified time of N, jump to the page Http://www.yourlink; 3,<meta http-equiv="Expires" content ="mon,12 may 00:10:00 GMT" >Can be used to set the expiration time of a webpage and must be recalled to the server once it expires. It is important to note that the GMT time format must be used; 4,<meta http-equiv="Pragma" content ="No-cache">is used to set the browser from the local computer cache to access the content of the page, set once left the page can not be recalled from the cache; 5,<meta http-equiv="Set-cookie" content ="mon,12 may 00:10:00 GMT" /c5>>Cookie is set and if the page expires, the cookie will be deleted. It is also important to note that the GMT time format must be used; 6.<meta http-equiv="Pics-label" content = ""& GT; page rating, there is a content setting in Internet options for IE , which prevents you from browsing some restricted websites, and the limit level of the website is forcing BR /> The meta attribute to set; 7,<meta http-equiv="Windows-target" content ="_top">Force the page in the current window with a separate page display, you can prevent their own web page by others as a frame page call; 8.<meta http-equiv="Page-enter" content ="Revealtrans (duration=10 , transtion=) ">And<meta http-equiv="Page-exit" content ="Revealtrans ( duration=20,transtion=6) ">Sets the special effect when entering and leaving the page, which is the "Format/page transition" in FrontPage, but the added page cannot be a frame page.

A good memory is better than a rotten pen. Meta attribute and meaning in 62-html

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.