How to add keywords and descriptions for your website
The secret of the meat tag.
META tag is an auxiliary tag in the head area of the HTML language. In almost all pages, we can see
The following html code is used:
-----------------------------------------------
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
</Head>
-----------------------------------------------
This is a typical use of meta tags. How many meta tags have? What is the role of meta Tags? Why are they particularly important?
What about it? Let's explore the mysteries of meta Tags together!
According to HTML language standards, meta Tags are very important for website development. They can be used to identify authors,
Set the page format, label the content feed and keywords, and refresh the page.
Meta Tags are divided into two parts: HTTP-EQUIV and NAME variables.
● The HTTP-EQUIV is similar to the HTTP header protocol, which responds to some useful information for the browser to help with correctness and Accuracy
Page content. Commonly used HTTP-EQUIV types are:
1. expires (TERM)
Note: You can set the expiration time of a webpage. Once the webpage expires, you must re-access it on the server.
Usage: <META HTTP-EQUIV = "expires" CONTENT = "Wed, 26 Feb 1997 08:21:57 GMT">
Note: The GMT time format must be used.
2. Pragma (cach Mode)
Note: The browser is prohibited from reading the page content from the cache of the local machine.
Usage: <META HTTP-EQUIV = "Pragma" CONTENT = "no-cache">
Note: in this way, visitors will not be able to browse offline.
3. Refresh (Refresh)
Note: If you need to enable the webpage to automatically link to other webpages on a regular basis, use this sentence.
Usage: <META HTTP-EQUIV = "Refresh" CONTENT = "5; URL = http://www.yahoo.com">
Note: 5 indicates that the URL is automatically refreshed after 5 seconds.
4. Set-Cookie (cookie setting)
Note: If the webpage expires, the cookie on the disk will be deleted.
Usage: <META HTTP-EQUIV = "Set-Cookie" CONTENT = "cookievalue = xxx;
Expires = Wednesday, 21-Oct-98 16:14:21 GMT; path =/">
Note: The GMT time format must be used.
5. Window-target (display Window settings)
Note: The Force page is displayed on an independent page in the current window.
Usage: <META HTTP-EQUIV = "Window-target" CONTENT = "_ top">
Note: It is used to prevent others from calling your page in the framework.
5. Content-Type (display character set setting)
Description: sets the character set used on the page. (We have already introduced the functions of the font design)
Usage: <meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
● The syntax format of the NAME variable of the meat tag is:
<Meta name = "xxx" CONTENT = "xxxxxxxxxxxxxxxxxx">
Xxx has the following parameters:
1. Keywords)
Note: keywords are used to tell the search engine what keywords are on your webpage.
Example: <meta name = "keywords" CONTENT = "life, universe, mankind, plants,
Relationships, the meaning of life, science ">
2. description)
Description: description is used to tell the search engine the main content of your website.
Example: <meta name = "description" CONTENT = "This page is about the meaning
Life, the universe, mankind and plants. ">
3. robots (robot wizard)
Note: robots is used to tell robots which pages need to be indexed and which pages do not need to be indexed.
CONTENT parameters include all, none, index, noindex, follow, and nofollow. The default value is all.
Example: <meta name = "robots" CONTENT = "none">
4. author (author)
Note: the author of the webpage
Example: <META name = "AUTHOR" content = "ajie, ajie@netease.com">
These are some of the basic usage of meta tags, the most important of which is the setting of Keywords and description.
Why? The principle is simple. These two statements allow search engines to precisely discover you and attract more people to access them.
Your site!
According to the working principle of popular search engines (such as Lycos and AltaVista), the search engine first sends robots to automatically
Search on www. When a new website is found, the keywords and decription in the page are retrieved and added to
Your database, and then sort the website according to the keyword density.
That is to say:
1. If there is no meta tag for Keywords and description on your page, the robot is
If you cannot add your site to the database, it is impossible for users to search for your site.
2. If your keyword is poorly selected and the keyword density is not high, it will be placed behind dozens or even millions of sites.
The possibility of being clicked is also very small.
Therefore, we must remember to add the meta tags of keywords and description, and write the keywords and introduction as much as possible.
The taboos for writing keywords are:
1. Do not use common words. For example, www, homepage, net, and web.
2. Do not use adjectives or adverbs. For example, the best and the largest.
3. Do not use general words as accurate as possible. For example, you can switch to V998 instead of a "Motorola mobile phone ".
One of the skills to find the right keywords is: To search engines such as lycos, Alta, and infoseek, search is similar to your content
To view the meta keywords of the top 10 websites, and copy them to your site.
Here, we will give you a keyword for the Microsoft Multimedia Website:
<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
The two websites show the ranking of the most popular search terms on the Internet each month.
In addition, to improve the search click rate, there are also some "tricks ":
1. To increase the keyword density, hide the keyword in the page (define the text color as the same as the background color ).
2. add keywords to the alt comment statement of the image.
For example,
3. Use HTML comments to add a large number of keywords to the page code.
Usage: <! --- Insert keywords here --->