What does meta name mean?
Let's take a look! (In fact, what do you mean by looking at the previous sections and using examples?) What is meta? Meta is actually an auxiliary tag in the head area of the HTML language. In almost all webpages, we can see the following HTML code: <meta http-equiv = Content-Type content = "text/html; charset = gb2312 "> some people have to say that this code seems dispensable. It does not have much practical effect! In fact, it is not useless, but you are not using the meta tag. Why? This is because meta tags have many parameters. Different parameters can be used to enable different functions on the homepage. For example, they are used to identify the author, set the page format, and label the content feed and keywords, and refresh the page! Let's unveil the secrets of the meta tag! 1. Syntax: <meta name = "name" content = "string"> 2. Parameter resolution: 1) Name item: commonly used options include keywords ), description (website content description), author (author), and robots (robot wizard. 2) HTTP-equiv item: it can be used to replace the name item. Common options include expires (TERM), Pragma (Cache mode), refresh (refresh ), set-Cookie, window-target, content-type, and so on. 3) content item: determines the string to be entered based on the definition of name or http-equiv. 3. Application 1: Tell the browser the file type and language type recognized by the web page. For example, if we want the browser to identify the htm/html type in simplified Chinese, we can write it like this: <meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"> 2. Let some search engines search your webpage. The code can be written as follows: <meta name = "keywords" content = "Web keyword"> <meta name = "Description" content = "Web description"> to enable the automatic search engine, you can easily search pay attention to the following points on your webpage: a. You need to define both the meta tag and the first 200 characters in the homepage text to reflect the text of the homepage topic. Some navigators index the first 200 characters in the text while indexing the keywords in the meta item. For example, Altavista. Therefore, when some people check the registration result after registering the navigation bar, they find that the description in the navigation bar is not what you want, but text such as copyright description. The reason for this phenomenon is that you did not notice this. B. Place the meta tag item of the defined keywords before the meta item of the defined description. For example, <meta type = "keywords" content = ".......,...,... "> <meta type =" Description "content = "...,....,... "> C. Place the most important keywords at the beginning, so that the relevant keywords are adjacent. All lowercase letters and initials coexist, because some navigators are case sensitive to Characters During indexing. There should be no more than 250 words including punctuation marks, and it is best not to use the frame structure on the home page, because after the frame divides the screen into multiple windows, the navigation platform cannot intelligently select the homepage in the correct window for indexing. 3, let a page over a certain period of time, automatically go to another page or site, such as: <meta HTTP-EQUIV = "refresh" content = "6; url = http://fym888.nease.net "> 6 in content indicates the time, in seconds, url = is the URL you want to turn to, if it is in the same directory as your current page, you can directly write the file name, for example: <meta HTTP-EQUIV = "refresh" content = "6; url?page1.htm"> 4, let the page refresh once every time, to refresh once every 10 seconds, the code is written like this: <meta http-equiv = "refresh" content = "10"> 5. Meta allows you to access the page with special effects. The specific application is as follows: <meta http-equiv = "Page-Enter" content = "revealtrans (duration = 5.0, transition = N) "> where the value range of N is 0-23, the specific meaning is as follows: 0 rectangular zoom 1 rectangular zoom 2 circular zoom 3 circular zoom 4 down to top 5 up to bottom 6 left to right 7 Right to left 8 vertical blinds 9 horizontal blinds 10 misfit horizontal blinds 11 misfit vertical blinds 12 PM to Center 14 Middle to left 15 middle to Top 16 up to center 17 right bottom to top 18 right to bottom 19 right to bottom 20 left bottom to top right 21 horizontal bars 22 vertical bars 23 more than 24 method 6: Label <meta name = "author" content = "Huangshan Cunfu-Anhui new infrastructure Engineering Co., Ltd."> 7. Control page buffering, for example, do not write code that does not buffer pages: <meta http-equiv = "cache-control" content = "no-Cache"> there are some other code that is not commonly used.