HTML page META tag content writing specification points


The META tag is an auxiliary tag in the head area of ​​the HTML language, which is used to describe the attributes of an HTML web page document, such as author, date and time, web page description, keywords, page refresh, etc. It has two properties, HTTP header information (HTTP-EQUIV) and page description information (NAME). Different attributes have different parameter values, and these different parameter values ​​realize different web page functions.
When we perform search engine optimization (SEO) on a website, we usually use two parameters, "Keywords" (keywords) and "description" (page description) in the name attribute. After a long-term test in the two mainstream search engines "Baidu" and "GOOGLE", it was found that the ranking of Baidu search results has a great relationship with the content in the META tag, and it also has a certain decisive role in GOOGLE. META The role of tags in a page is second only to title. So the content design of META tags is still very important.
Let's discuss with you the basic writing of keywords and description in the META tag, and the matters that should be paid attention to:
1. Keywords
Description: A keyword list for search engines
usage: <Meta name=”Keywords” content=”QQ screen name, QQ signature, QQ personality signature, the coolest QQ name, non-mainstream QQ signature, traditional QQ signature”>
Skills: 1. Select appropriate keywords (you can use tools such as Baidu Index to select keywords with relatively high search volume, and compound keywords can be selected if necessary)
2. Different keywords should be separated by half-width commas (keywords should be separated by half-width commas (that is, commas in English). If Chinese are used as punctuation, search engines will mistake them for words)
3. Don’t write too many keywords or too long (it is recommended to control them within six words, it’s better to be short and clear, don’t repeat too much or deliberately)
4. For large websites, try not to use the same keywords for every page
2. Description (page description)
Description: Description is used to tell search engines the main content of your website. usage: <Meta name=”Description” content=”QQ screen name, choose the coolest QQ screen name for your QQ, and the coolest QQ signature”>
Skills: 1. It should be natural language, not a list of keywords (that is to say, if it is a few sentences that describe the title and content of a web page in a concise manner, it is not a list of keywords like Keywords.)
2. The description content should be highly relevant to the webpage title and keywords content (focus on supplementing the descriptions that are not fully expressed in the title and keywords)
3. The description content should be highly relevant to the content of the webpage itself
4. The description text does not need to be too much (it is recommended to control it within 200 characters, and the keyword can be repeated three or four times, and do not accumulate too much)
5. Don’t use the same Description for every page
The above writing method is only a general rule. In actual application, it should be adjusted appropriately with the changes of search engine retrieval rules and the situation of the website itself. META optimization is only a part of SEO, and does not fully represent SEO. In order to optimize the website well, We still need to work hard from many aspects. We will continue to discuss website optimization for you in the next few issues.

Recommended Today

The vue-router hook function implements routing guard

Table of contents Overview global hook function Routing exclusive hook function Hook function inside the component Overview What is Route Guard? The routing guard is a bit similar to the request interceptor of ajax, that is, before the request is sent, it will intercept you and do something before sending the request. Similarly, the meaning […]