How to use META tags (pc side)

Source: Internet
Author: User

<!DOCTYPE HTML><HTMLLang= "en"><Head>    <!--set the character set used by the page -    <Metahttp-equiv= "Content-type"Content= "text/html;"CharSet= "UTF-8">    <!--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    The Content of Content-language can also be: EN, FR and other language code.  -    <!--page refreshes automatically, or jumps to other pages -    <Metahttp-equiv= "Refresh"Content= "+">    <!--<meta http-equiv= "Refresh" content= "5;    url=# "> 5 of which means to automatically refresh to URL URLs after 5 seconds of stay.  -    <!--term -    <!--Description: Specifies the expiration time of the page in the cache and must be re-accessed on the server once the page expires. Usage: <meta http-equiv= "Expires" content= "0" > <meta http-equiv= "Expires" content= "Wed," 1997 08:21:57 GMT "    > Note: You must use the time format of GMT or set it directly to 0 (the number indicates how much time expires).  -    <!--Pragma (cach mode) -    <!--Description: Prevents the browser from accessing the contents of the page from the local machine's cache. Usage: <meta http-equiv= "Pragma" content= "No-cach" > Note: Web pages are not in the cache, and each visit refreshes the page.    With this setting, visitors will not be able to browse offline.  -    <!--    Set-cookie (Cookie setting) Description: When a browser accesses a page, it is cached and can be read from the cache the next time it is accessed to increase speed. Disable caching when you want visitors to refresh your ad's icon every time, or refresh your counter every time. Usually HTML files do not need to disable caching, for the ASP and other pages, you can use the disable cache, because every time you see the page is dynamically generated on the server, the cache loses meaning.  If the page expires, the saved cookie will be deleted. Usage: <meta http-equiv= "Set-cookie" content= "COOKIEVALUE=XXX; Expires=wednesday, 21-oct-98 16:14:21 GMT;    path=/"> Note: The time format of GMT must be used.  Window-target (display window settings) Description: Forces the page to appear on 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 frame.    Content options: _blank, _top, _self, _parent.   Page-enter, Page-exit (Entry and exit) Description: This is the page is loaded and recalled some of the effects. Usage: <meta http-equiv= "Page-enter" content= "Blendtrans (duration=0.5)" > <meta http-equiv= "Page-Exit" Content= "Blendtrans (duration=0.5)" > Note: Blendtrans is a kind of dynamic filter that produces a fade effect. Another dynamic filter Revealtrans can also be used for page entry and exit effects: <meta http-equiv= "Page-enter" content= "Revealtrans (duration=x, Transition=y)" > <meta http-equiv= "page-exit" content= "Revealtrans (duration=x, Transition=y)" > duration represents the duration of the filter effect (   Units: seconds)    Transition filter type.       Indicates which effect to use, with a value of 0-23.  0 Rectangle Reduced 1 Rectangle enlarged 2 round reduced 3 round enlarged 4 down to top refresh 5 up to bottom refresh 6 left to right refresh 7 right to left flush 8 Vertical Blinds 9 Horizontal shutter 10 dislocation horizontal shutter 11 dislocation vertical Shutter 12 point diffusion 13 around to the middle of the refresh 14 middle to the left and right flush 15 middle to upper and lower 16 up to the Middle 1     7 right down to top left 18 right top to left lower 19 left top to bottom 20 left down to top 21 horizontal bar 22 vertical bar 23 above 22 random selection of a -    <!--page Keywords -    <Metaname= "keywords"content= "Your tags" />    <!--page Description -    <Metaname= "description"content= "Words" />    <!--search Engine Indexing method -    <Metaname= "Robots"content= "Index,follow" />    <!--All : The file will be retrieved and the link on the page can be queried; none: The file will not be retrieved and the link on the page cannot be queried; index: The file will be retrieved; follow: the link on the page can be queried; NOINDEX: The file will not be retrieved; Nofollo  W: Links on the page cannot be queried.  -    <Metaname= "Author"content= "Sup_"/>    <!--Copyright Description: Label Copyright usage: <meta name= "Copyright" content= "This page is owned by Zerospace. All rights Reserved "> Generator (Editor) Description: Description of the editor usage: <meta name=" Generator "content=" pcdata| Frontpage| " > Note: content= "your editor" Revisit-after (re-visit) Description: Usage: <meta name= "Revisit-after" content= "7 Days" > Note: /c0> -        <!--      Some other usage in ★head 1, Scheme description: scheme can used when name was used to specify how the value of content should   be interpreted. Usage: <meta scheme= "ISBN" name= "identifier" content= "0-14-043205-1"/> Note: 2, Link Description: Link to file usage: <link href = "Soim.ico" rel= "Shortcut icon" > Note: Many sites if you save her in the Inbox, you will find that it is accompanied by a small icon, if you click again, you will find the Address bar also has a small icon. You can now easily implement this feature by adding this to your page header.        <LINK> is used to link the current file to other URLs, but there is no link button for the <HEAD> tag, the format is as follows: <link href= "URL" rel= "relationship" > <link href= "URL" rev= "Relationship" > 3, Base link Description: Insert Web page Base Link Property usage: <base href= "http://www.xia8.net/" Targe t= "_blank" > Note: All relative paths on your page will be prefixed with "http://www.cn8cn.com/" when linking. where target= "_blank" is the link file opened in a new window, you can do other settings.   Change "_blank" to "_parent" is the link file will open in the parent window of the current window, instead the "_self" link file opens in the current window (frame), instead the "_top" link file is displayed in full screen. These are some of the basic uses of META tags, the most important of which are: keywords and description settings. Why is it? The reason is very simple, these two statements can let the search engine can find you accurately, attract more people to visit your site! According to the current popular search engine (Google,lycos,altavista, etc.) work principle, search engine first sent the robot automatically on the WWW search, when the discovery of new sites, Easy to retrieve Keywo in the pageRDS and description, and add it to their database, then sort the site by the density of the keywords. From this perspective, we must remember to add keywords and description meta tags and write keywords and profiles as much as possible.  Otherwise, the consequences will be: If your page does not have keywords and description meta tags, then the robot will not be able to add your site to the database, users will not be able to search your site.  If your keyword selection is not good, the density of the keyword is not high, is ranked in dozens of or even millions of sites after the possibility of being clicked is also very small. Write good Keywords (keywords) to pay attention to the following points: Do not use common vocabulary.  such as WWW, homepage, net, Web, and so on. Don't use adjectives, adverbs.  such as the best, the biggest and so on. Don't use a general vocabulary, try to be as precise as possible.   For example, "Ericsson Phone", instead of "T28SC" will be better.  "Three people will be my teacher," the search for the RIGHT keyword skills are: to Google, Lycos, Alta and other famous search engines, search and your site content similar to the site, to view the top ten of the site's meta-keywords, will be used in your site, the effect can be imagined.  ★ Tips In order to improve the search rate, here are some "shortcuts" can help you: in order to increase the density of keywords, the keyword is hidden in the page (the text color is defined as the same as the background color). Add keywords to the ALT comment statement for the image.     such as:  the use of HTML annotation statements, in the page code to add a large number of keywords. -    <title>META tags</title></Head><Body></Body></HTML>

How to use META tags (pc side)

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.