No matter how wonderful your personal website is, it is like a small boat in the vast cyberspace. The first way people think of is the following:
● Log in to your own personal website in search engines
● Links to join your personal website on well-known websites
● Post on the forum to promote your personal website
Many people ignore the powerful effects of HTML tag META. A good META tag design can greatly improve the possibility of your personal website being searched. Are you interested? Let me re-recognize the META tag!
The META tag is an auxiliary tag in the HTML language HEAD area. It is located between the tag and the title << tag at the head of the HTML document. It provides information that is invisible to the user. Meta tags are usually used to define page themes for search engine robots, or to define cookies on the user's browser; they can be used to identify authors, set page formats, label content summary and keywords; they can also set pages so that they can refresh themselves according to the time intervals you define, and set RASC content levels, etc.
Detailed introduction
The following are some examples and explanations about markings.
META tags are divided into two parts: HTTP title information (HTTP-EQUIV) and page description information (NAME).
★HTTP-EQUIV
HTTP-EQUIV is similar to HTTP's header protocol, which responds to give the browser some useful information to help display web page content correctly and accurately. Commonly used HTTP-EQUIV types are:
1. Content-Type and Content-Language (displaying the character set settings) are reproduced from Global Online School edu24ol.com from Global Online School edu24ol.com from Global Online School edu24ol.com
Description: Set the character set used on the page to indicate the language used for the text used for homepage production. The browser will call the corresponding character set to display the page content based on this.
Usage: <Meta http-equiv=Content-Type Content=text/html; Charset=gb2312>
<Meta http-equiv=Content-Language Content=en-CN>
Note: This META tag defines the character set used by the HTML page as GB2132, which is the national standard Chinese character code. If you replace charset=GB2312 with BIG5, the character set used on this page is the traditional Chinese Big5 code. When you browse some foreign sites, IE browser will prompt you to correctly display the page and need to download xx language support. This function is to know which character set to display the page by reading the Content-Type property of the META tag of the HTML page. If the corresponding character set is not installed in the system, IE prompts to download it. Other languages also correspond to different charsets, such as the Japanese character set iso-2022-jp and the Korean character set is ks_c_5601.
Content-Type's Content can also be: text/xml and other document types;
Charset options: ISO-8859-1 (English), BIG5, UTF-8, SHIFT-Jis, Euc, Koi8-2, us-ascii, x-mac-roman, iso-8859-2, x-mac-ce, iso-2022-jp, x-sjis, x-euc-jp, euc-kr, iso-2022-kr, gb2312, gb_2312-80, x-euc-tw, x-cns11643-1, x-cns11643-2 and other character sets; Content-Language's Content can also be: EN, FR and other language codes.
2. Refresh (refresh) Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com
Description: How long (seconds) to refresh yourself, or how long after the web page automatically links to other web pages.
Usage: <Meta http-equiv=Refresh Content=30>
<Meta http-equiv=Refresh Content=5; Url=http://www.xia8.net>
Note: 5 of them means that you will automatically refresh to the URL URL after staying for 5 seconds.
3. Expires (term) from Global Online School edu24ol.com from Global Online School edu24ol.com from Global Online School edu24ol.com from Global Online School edu24ol.com
Description: Specify the expiration time of the web page in the cache. Once the web page expires, it must be re-reviewed on the server.
Usage: <Meta http-equiv=Expires Content=0>
<Meta http-equiv=Expires Content=Wed, 26 Feb 1997 08:21:57 GMT>
Note: The time format of GMT must be used, or set directly to 0 (the number indicates how much time it expires).
4. Pragma (cach mode)
Note: The browser is prohibited from viewing page content from the local machine's cache.
usage:
Note: The web page is not saved in the cache and the page is refreshed every time you visit. This setting allows visitors to browse offline.
5. Set-Cookie (cookie settings)
Note: When a browser accesses a page, it will be stored in the cache, and it can be read from the cache the next time you access it again to improve speed. Disable cache when you want your visitors to refresh your ad icon every time, or refresh your counter every time. Usually there is no need to disable cache in HTML files. For pages such as ASP, you can use disable cache, because every time you see the page is dynamically generated on the server, the cache loses its meaning. If the web page expires, the saved cookies will be deleted.
Usage: <Meta http-equiv=Set-Cookie Content=cookievalue=xxx; expires=Wednesday,
21-Oct-98 16:14:21 GMT; path=/>
Note: GMT's time format must be used.
6. Window-target (display window settings)
Description: Force the page to be displayed as a separate page in the current window.
Usage: <Meta http-equiv=Widow-target Content=_top>
Note: This property is used to prevent others from calling your page in the framework. Content options: _blank, _top, _self, _parent.
7. Pics-label (RSAC rating on web pages)
Note: There is a content setting in IE's Internet options that prevent browsing some restricted websites, and the restriction level of the website is set through this parameter.
Usage:: <META http-equiv=Pics-label Contact=(PICS-1.1'http://www.rsac.org/ratingsv01.html'I gen comment 'RSACi North America Sever' by '[email protected]' for 'http://www.microsoft.com' on '1997.06.30T14:21-0500' r(n0 s0 v0 l0))>
Note: Do not set the level too high. RSAC's evaluation system provides a standard for evaluating content on Web sites. Users can set up Microsoft Internet Explorer (IE3.0 or above) to exclude sites that contain pornographic and violent content. The HTML in the example above is taken from Microsoft's homepage. (n 0 s 0 v 0 l 0) in the code means that the site does not contain unhealthy content. The ratings of the ratings are evaluated by the RSAC, the rating agency of the US Entertainment Commission. If you want to further understand the ratings of the RSAC evaluation system, or if you need to rate your own website, you can visit the RSAC site: http://www.rsac.org/.
8. Page-Enter, Page-Exit (entry and exit)
Note: This is some special effects when the page is loaded and called out.
Usage: <Meta http-equiv=Page-Enter Content=blendTrans(Duration=0.5)>
<Meta http-equiv=Page-Exit Content=blendTrans(Duration=0.5)>
two,
The content of name specifies the actual content. For example: if the level is specified as value, the Content may be beginner, intermediate, and advanced.
1. Keywords (keywords)
Description: The keyword list provided for search engines is reproduced from Global Online School edu24ol.com from Global Online School edu24ol.com from Global Online School edu24ol.com
Usage: <Meta name=Keywords Content=Keywords 1,Keywords 2,Keywords 3,Keywords 4,...>
Note: Each keyword is separated by an English comma. META is usually used to specify keywords used by search engines to improve search quality. When several META elements provide document language subordinate information, search engines use lang features to filter and display search results through user's language priority reference. For example:
<Meta name=Kyewords Lang=EN Content=vacation,greece,sunshine>
<Meta name=Kyewords Lang=FR Content=vacances,grè:ce,soleil>
2. Description (Introduction)
Description: Description is used to tell search engines the main content of your website.
Usage: <Meta name=Description Content=Brief description of your webpage>
Notice:
3. Robots (Robot Guide) Reposted from Global Online School edu24ol.com Reposted from Global Online School edu24ol.com Reposted from Global Online School edu24ol.com
Description: Robots is used to tell search robots which pages need indexes and which pages do not need indexes. The parameters of Content are all, none, index, noindex, follow, and nofollow. The default is all.
Usage: <Meta name=Robots Content=All|None|Index|Noindex|Follow|Nofollow>
Note: Many search engines log in to the website by placing robot/spider search. These robot/spiders need to use some features of the meta element to decide how to log in.
all: The file will be retrieved, and the links on the page can be queried;
none: The file will not be retrieved, and the links on the page cannot be queried; (The same function as noindex, no follow)
index: The file will be retrieved; (Let robot/spider log in)
Follow: The links on the page can be queried; reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com
noindex: The file will not be retrieved, but the links on the page can be queried; (Don't let robot/spider login)
nofollow: The file will not be retrieved, and the links on the page can be queried. (Don't let robot/spider follow the connection on this page to search)
4. Author (Author)
Description: Label the author or production group of the web page
Usage: <Meta name=Author Content=Zhang San, [email protected]>
Note: Content can be: your or your production group's name, or email
5. Copyright (Copyright)
Description: Mark copyright is reproduced from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com
Usage: <Meta name=Copyright Content=The copyright of this page belongs to Zerospace. All Rights Reserved>
Notice:
6. Generator (Editor)
Description: Editor's description
Usage: <Meta name=Generator Content=PCDATA|FrontPage|>
Note: Content=The editor you use
7. Revisit-after (revisit)
illustrate:
Usage: <META name=revisit-after CONTENT=7 days >
Notice:
★Some other uses in Head
1. scheme (plan)
Description: scheme can be used when name is used to specify how the value of content shouldbe interpreted.
Usage: <meta scheme=ISBN name=identifier content=0-14-043205-1 />
Notice:
2. Link (link)
Description: Link to a file
Usage: <Link href=soim.ico rel=Shortcut Icon>
Note: If you save it in your incoming folder, you will find that it has a small icon. If you click again, you will also find that there is a small icon in the address bar. Now just add this paragraph to the header of your page to easily implement this function. <LINK> is used to link the current file to other URLs, but there is no link button. It is used in the <HEAD> tags, and the format is as follows:
<link href=URL rel=relationship>
<link href=URL rev=relationship>
3. Base (base link)
Description: Insert the basic link attribute of the web page is reproduced from Global Online School edu24ol.com from Global Online School edu24ol.com from Global Online School edu24ol.com
Usage: <Base href=http://www.xia8.net/ target=_blank>
Note: All relative paths on your web page will be preceded by http://www.cn8cn.com/ when linked. where target=_blank is the link file opens in a new window, you can do other settings. Change _blank to _parent is the link file will be opened in the parent window of the current window; change to _self link file will be opened in the current window (frame); change to _top link file to be displayed in full screen.
The above are some basic usages of META tags, the most important of which is: the settings of Keywords and Description. Why? The reason is simple. These two statements allow search engines to accurately discover you and attract more people to visit your site! According to the working principle of popular search engines (Google, Lycos, AltaVista, etc.), search engines first send robots to automatically search on WWW. When a new website is discovered, it is easy to retrieve Keywords and Description in the page, and add it to its own database, and then sort the website according to the density of the keywords.
From this point of view, we must remember to add the META tags of Keywords and Description and write the keywords and introductions as well as possible. otherwise,
The consequences will be:
● If your page does not have the META tags for Keywords and Description at all, then the robot cannot add your site to the number of
According to the database, it is impossible for netizens to search for your site.
● If your keywords are not selected well, the keyword density is not high, and they are arranged behind dozens or even millions of sites and are clicked.
The ability is also very small.
Please note the following points when writing Keywords (keywords): Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com Reprinted from Global Online School edu24ol.com
● Do not use common words. For example, www, homepage, net, web, etc.
● Do not use adjectives or adverbs. For example, the best, the largest, etc.
● Don’t use general vocabulary, try to be as accurate as possible. For example, Ericsson mobile phones will be better if you switch to T28SC.
When three people go, we must have a teacher. The skills to find suitable keywords are: go to famous search engines such as Google, Lycos, and Alta to search and
For websites with similar content, check the META keywords of the top ten websites and use them on your website, and the effect is imaginable.
★Tips
To improve search click-through rates, here are some shortcuts to help you:
● To increase the density of keywords, hide the keywords in the page (define the text color to the same as the background color).