Key points for writing content of HTML web page META tags

Key points for writing content of HTML web page META tags

The META tag is an auxiliary tag in the head area of ​​the HTML language. It is used to describe the properties of an HTML web page document, such as author, date and time, web page description, keywords, page refresh, etc. It has two attributes, namely HTTP header information (HTTP-EQUIV) and page description information (NAME). Different attributes have different parameter values, and these different parameter values ​​implement different web page functions.
When we perform search engine optimization (SEO) on a website, we usually use the two parameters "Keywords" (keywords) and "description" (webpage description) in the name attribute. After a long period of testing on two mainstream search engines, Baidu and GOOGLE, we found that the ranking of Baidu search results is closely related to the content in the META tag. It also plays a certain decisive role in GOOGLE. The role of the META tag in a page is second only to the title. Therefore, the content design of the META tag is still very important.
Let's discuss with you the basic writing methods of keywords and descriptions in META tags, and the things you should pay attention to:
1. Keywords
Description: Usage of the keyword list provided for the search engine: <Meta name="Keywords" Content="QQ username, QQ signature, QQ personality signature, coolest QQ username, non-mainstream QQ signature, traditional QQ signature">
Tips: 1. Choose appropriate keywords (you can use tools such as Baidu Index to select keywords with relatively high search volume, and you can choose compound keywords when necessary)
2. Different keywords should be separated by half-width commas (commas in English). If Chinese punctuation is used, search engines will mistake it for text.
3. Don’t write too many or too long keywords (it is recommended to keep it within six words, short and clear, don’t use too many or deliberately repeat them)
4. For large websites, try not to use the same keywords on every page
2. Description
Description: Description is used to tell search engines the main content of your website. Usage: <Meta name="Description" Content="QQ username, choose the coolest QQ username and the coolest QQ signature for your QQ">
Tips: 1. It should be natural language, not a list of keywords (that is, a few concise sentences describing the title and content of the web page, not a list of keywords like Keywords).
2. The description content should be highly relevant to the webpage title and keywords (focus on supplementing the description that is not fully expressed in the title and keywords)
3. The description content should be highly relevant to the content of the web page itself
4. The description does not need to be too long (it is recommended to be within 200 characters, and the keywords can be repeated three or four times, and do not pile up 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 in search engine retrieval rules and the website's own situation. META optimization is only a part of SEO and cannot fully represent SEO. If you want to optimize the website well, you need to work hard in many aspects. We will continue to discuss website optimization for you in the next few issues.

<<:  Docker image compression and optimization operations

>>:  Learn the common methods and techniques in JS arrays and become a master

Recommend

Detailed explanation of the functions and usage of MySQL common storage engines

This article uses examples to illustrate the func...

Using JavaScript difference to implement a comparison tool

Preface At work, I need to count the materials su...

Solve the problem of installing Theano on Ubuntu 19

Solution: Directly in the directory where you dow...

Recommend some useful learning materials for newbies in web design

Many people also asked me what books I read when ...

Linux sar command usage and code example analysis

1. CPU utilization sar -p (view all day) sar -u 1...

How to set remote access permissions in MySQL 8.0

The previous article explained how to reset the M...

Why should you be careful with Nginx's add_header directive?

Preface As we all know, the nginx configuration f...

Detailed steps for configuring Tomcat server in IDEA 2020

The steps for configuring Tomcat in IDEA 2020 are...

Docker-compose one-click deployment of gitlab Chinese version method steps

1. Introduction to gitlab Gitlab official address...

Database backup in docker environment (postgresql, mysql) example code

Table of contents posgresql backup/restore mysql ...

Mobile Internet Era: Responsive Web Design Has Become a General Trend

We are in an era of rapid development of mobile In...

How to clear default styles and set common styles in CSS

CSS Clear Default Styles The usual clear default ...

Summary of Vue first screen performance optimization component knowledge points

Vue first screen performance optimization compone...

Detailed explanation of ES6 Promise usage

Table of contents What is a Promise? Usage of rej...