Meta Tag Section Summary

Source: Internet
Author: User

<meta> tags are used to provide meta-information about the page, such as descriptions and keywords for search engines and update frequency.
Because see many pages

Meta tags function: search engine optimization (seo), define the language of the page, automatically refresh and point to the new page, to achieve web page conversion
When the dynamic effect, control the page buffer, page rating evaluation, control of the page Display window and so On.

1.name Properties
<meta name= "parameter" content= "specific parameter value" > (content contents are separated by Commas)

Name Property Main Parameter:

Keywords (key words)

Description (website Content Description)

Robots
(robot wizard, used to tell the search robot which pages need to be indexed, which do not need indexes;
The content Parameters are: all,none,index,noindex,follow,nofollow. default is All)
<meta name= "robots" content= "none" >

Author (author, label author on Page)
<meta name= "author" content= "root,[email protected]" >

Generator (description of what software is used to make the Website)
<meta name= "generator" content= "information parameters"/>

Copyright (description of the website Information)
<meta name= "COPYRIGHT" content= "information parameters" >

Revisit-after (re-visit on behalf of the website, 7days for 7 days, etc.)
<meta name= "revisit-after" content= "7days" >

2.http-equiv Property
Equivalent to the file header function, you can send back some useful information to the browser to help correct and accurate display of the Web page content, corresponding to the property values
The content in Content,content is actually the variable value of each parameter.

<meta http-equiv= "parameter" content= "parameter variable value" >

Expires (term, used to set the expiration time of the website, once the site expires, it must be retransmitted to the Server.) Must use GMT time Format)
<meta http-equiv= "expires" content= "fri,12jan200218:18:18gmt" >

Pragma (cache mode, set to no-cache, visitors will not be able to browse offline.) )
<meta http-equiv= "pragma" content= "no-cache" >

Refresh (refreshes, automatically refreshes and points to the new Page)
<meta http-equiv= "Refresh" content= "2; Url=http://www.hao123.com ">

Set-cookie (cookie settings, If the page expires, then the cookie will be deleted)
<meta http-equiv= "set-cookie" content= "Cookie value=xxx;expires=fri,12jan200218:18:18gmt;path=/" >

Window-target (displays the Window's settings, forcing the page to appear on a separate page in the current window to prevent others from calling their own page in the Frame)
<meta http-equiv= "window-target" content= "_top" >

Content-type (display Character Set settings, set the character set used by the Page)
<meta http-equiv= "content-type" content= "text/html;charset=gb2312" >
Character encoding Type:
gb2312, Simplified chinese;
big5, Traditional chinese;
iso-2022-jp, japanese;
ks_c_5601, korean;
iso-8859-1, english;
utf-8, the World's Universal language coding;

Content-language (display Language Settings)
<meta http-equiv= "content-language" content= "zh-cn"/>

Cache-control (specifies The caching mechanism that requests and responses Follow)
<meta http-equiv= "cache-control" content= "no-transform" > (no Baidu Transcoding)
Setting Cache-control in a request message or response message does not modify the caching process in another message processing process.
Cache directives on request include no-cache, no-store, max-age, max-stale, min-fresh, only-if-cached,
The directives in the response message include public, private, no-cache, no-store, no-transform, must-revalidate, proxy-revalidate, and Max-age.

Imagetoolbar (specifies whether to display the picture toolbar, false to not show, true for Display)
<meta http-equiv= "imagetoolbar" content= "false" >

Content-script-type (web page specification, specifying the type of script in the Page)
<meta http-equiv= "content-script-type" content= "text/javascript" >

Page-enter/page-exit (set Special effects when entering and leaving the page, Tansition is the filter effect, there are 24 kinds)
<meta http-equiv= "page-enter" content= "revealtrans (duration=10,transtion=5)"

<meta http-equiv= "page-exit" content= "revealtrans (duration=20,transtion=6)"

Meta Tag Section Summary

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.