SEO Optimization Chapter--meta Usage

Source: Internet
Author: User

First, the syntax:
<meta name= "Name" content= "string" >
Second, parameter analysis:
1) name option: Keywords (keyword), description (Website content description), author (author), Robots (Robot wizard), etc.

2) Http-equiv: Can be used in place of the name entry, the commonly used options are expires (term), Pragma (cache mode), refresh (refresh), Set-cookie (Cookie setting), Window-target ( Display the settings of the window), Content-type (display character set settings) and so on.
3) Content item: Determines what string this item fills according to the definition of the name key or HTTP-EQUIV item.

1. Add support for mobile devices
<meta name= "viewport" content= "Width=device-width, initial-scale=1" >
<meta name= "viewport" content= "Width=device-width, initial-scale=1, maximum-scale=1, user-
Scalable=no "> (no scaling)
2. Compatible with IE
<meta http-equiv= "x-ua-compatible" content= "Ie=edge" >
3. Specify Utf-8 Code
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 ">
4. Let search engines search for keywords
<meta name= "Keywords" content= "Web keywords" >
<meta name= "description" content= "Web descriptive text"/>
5. Set the browse mode for dual-core browsers
<meta name= "renderer" content= "WebKit" >
<meta name= "renderer" content= "Webkit|ie-comp|ie-stand" > (speed mode, compatibility mode, respectively) to
and IE mode)

6. Produce special effects

< meta http-equiv= "Page-enter" content= "Revealtrans (duration=5.0,transition=n)" > (the value range for n is 0-23)

7. Labeling
<meta name= "Author" content= "Two degree space" >
8, control the page buffer, such as do not page buffer code to write:
<meta http-equiv= "Cache-control" content= "No-cache" >

9. To refresh the page every once in a while, to refresh it 10 seconds, the code writes:
<meta http-equiv= "Refresh" content= "ten" >

10. Let a page take a certain amount of time, automatically go to another page or site, such as:
< Meta http-equiv= "Refresh" content= "6; url=http://hi.baidu.com/tesalo/">

Content 6 means time, in seconds, url= is the URL you want to turn to, if you are in the same directory as your current page, you can write the file name directly, such as:
< Meta http-equiv= "Refresh" content= "6; Url=page1.htm ">

can refer to the website: http://blog.csdn.net/jamesmgw/article/details/7320090;http://blog.sina.com.cn/s/blog_6f2ea7950100xjtb.html;

SEO Optimization Chapter--meta Usage

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.