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

Example code for setting hot links and coordinate values ​​for web images

Sometimes you need to set several areas on a pict...

How to use the debouce anti-shake function in Vue

Table of contents 1. Anti-shake function 2. Use d...

JavaScript implements page scrolling animation

Table of contents Create a layout Add CSS styles ...

Introduction to JavaScript array deduplication and flattening functions

Table of contents 1. Array flattening (also known...

VMware virtual machine installation Linux system graphic tutorial

This article shares the specific steps of VMware ...

Linux kernel device driver address mapping notes

#include <asm/io.h> #define ioremap(cookie,...

Native JS to implement image carousel JS to implement small advertising plug-in

Recently I want to use native JS to implement som...

Zabbix monitoring solution - the latest official version 4.4 [recommended]

Zabbix 2019/10/12 Chenxin refer to https://www.za...

Summary of the use of vue Watch and Computed

Table of contents 01. Listener watch (1) Function...

mysql 5.7.19 latest binary installation

First download the zip archive version from the o...

Vue uses filters to format dates

This article example shares the specific code of ...

Discussion on the problem of garbled characters in iframe page parameters

I encountered a very unusual parameter garbled pro...