How to add keywords and descriptions to your site

Source: Internet
Author: User
Tags html comment

Meat the secrets of the label.

Meta tag, which is an auxiliary tag in the head area of the HTML language. In almost all the page, we can see
To the HTML code similar to the following:

-----------------------------------------------
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
-----------------------------------------------

This is the typical use of meta tags. Meta tag has how many parameters, what does it do, why do we have to be particularly heavy
Regard it? Let's explore the wonders of META tags!

Comments according to the HTML language standard: Meta tags are a very important label for the development of the website, which can be used to identify the author,
Format pages, annotate content feeds and keywords, refresh pages, and more.

Meta tags are divided into two parts: http-equiv and name variables.

HTTP-EQUIV is similar to the HTTP header protocol, which responds to the browser with some useful information to help correct and accurate
To display Web page content. Common types of HTTP-EQUIV are:

1.expires (term)
Description: Can be used to set the expiration time of a Web page. Once the page expires, it must be re-accessed on the server.
Usage: <meta http-equiv= "Expires" Content= "Wed, 1997 08:21:57 GMT" >
Note: The time format of GMT must be used.

2.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-cache" >
Note: This setting makes it impossible for visitors to browse offline.

3.Refresh (Refresh)
Note: It is necessary to make the webpage automatically link to other Web pages at regular intervals.
Usage: <meta http-equiv= "Refresh" content= "5; Url=http://www.yahoo.com ">
Note: 5 of these are meant to be automatically refreshed to URL URLs after 5 seconds of stay.

4.set-cookie (Cookie setting)
Note: If the page expires, the 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.

5.window-target (display window settings)
Description: Forces the page to appear on a separate page in the current window.
Usage: <meta http-equiv= "Window-target" content= "_top" >
Note: Use to prevent others from calling your page in the frame.

5.content-type (Displays the settings of the character set)
Description: Sets the character set used by the page. (we have described its role in the previous font design.)
Usage: <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">


The syntax format for the name variable of the meat tag is:
<meta name= "xxx" content= "xxxxxxxxxxxxxxxxxx" >
where xxx mainly has the following several parameters:

1.Keywords (keywords)
Description: Keywords is used to tell search engines what keywords are on your page.
Example: <meta NAME = "keywords" content= "life, Universe, mankind, plants,
Relationships, the meaning of Life, science ">

2.description (Introduction)
Description: Description is used to tell search engines the main content of your website.
Example: <meta name= "description" content= "This page is about the meaning of
Life, the Universe, mankind and plants. " >

3.robots (Robot Wizard)
Description: Robots is used to tell the search robot which pages need to be indexed and which pages do not.
The content parameters are all,none,index,noindex,follow,nofollow. The default is all.
Example: <meta name= "Robots" content= "None" >

4.author (author)
Description: The author of the callout page
Example: <meta name= "AUTHOR" content= "Ajie,[email protected]" >

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 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 (Lycos,altavista, etc.) working principle, the search engine first sent the robot automatically
Search on WWW, when a new site is discovered, the keywords and decription are retrieved from the page and added to the
Database, and then sort the site by the density of the keywords.

Other words:
1. If your page does not have keywords and description meta tags at all, then the robot is
Unable to add your site to the database, users will not be able to search your site.

2. 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 behind
The possibility of being clicked is also very small.

So, we have to remember to add keywords and description meta tags, and write the keywords and profiles as much as possible.

The taboo to write keywords is:
1. Do not use common vocabulary. such as Www,homepage,net,web and so on.
2. Don't use adjectives, adverbs. such as the best, the biggest and so on.
3. Do not use general vocabulary, to be as accurate as possible. For example, instead of "Motorola mobile", use "V998", etc.

One of the tips for finding the right keyword is: search engines such as Lycos,alta,infoseek, which are similar to your content
Website to view the top ten Web site's meta keywords, copy it down to use on your site.

Here, we cite a Microsoft Multimedia website keyword for your reference:
<meta name= "keywords" content= "joke, music, MP3, media, audio,
Joke of the day, downloads, free music, horoscope, radio, video,
Music downloads, movies, radio station, Media Player, free,
Download, weather, horoscopes, Windows Media Technologies,
Online, radio station guide, free download ">

Small resources: Some of the most commonly used search terms (i.e. keywords) can be
http://www.searchterms.com/
Http://eyescream.com/yahootop200.html
Two URLs at a glance, there is a list of the most popular search terms on the internet every month.

In addition, there are some "devious" to improve the search Ctr:
1. In order to increase the density of keywords, the keywords are hidden in the page (the text color is defined as the background color).
2. Add keywords to the ALT comment statement in the image.
such as:
3. Add a large number of keywords to the page code using the HTML comment statement.
Usage: <!---INSERT keyword here--->

How to add keywords and descriptions to your site

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.