How to understand and reasonably set the meta tag? -PHP development

Source: Internet
Author: User
The powerful functions of html Tag meta in website optimization cannot be ignored. A Good meta tag design can greatly improve the possibility of website searching. Let's take a look at the meta. Meta is an auxiliary tag in the head area of html language. It is used to simulate http Response Header packets in html documents. It is located between the mark in the html document header and provides invisible information to users. There are two types of attributes: name and htt. The powerful functions of html Tag meta in website optimization cannot be ignored. A Good meta tag design can greatly improve the possibility of a website being searched, next, let's get to know about meta.


MetaIt is an auxiliary tag in the head area of the html language. It is used to simulate http Response Header packets in the html document. It is located between the mark in the html document header and provides invisible information to users.


MetaThere are two types of attributes: name and http-equiv. The name attribute is mainly used to describe a webpage, corresponding to content (webpage content ), this allows search engines to search for and classify robots. (currently, almost all search engines use online robots to automatically search for meta values to classify webpages ). The most important of these are description and keywords. Therefore, you should add a meta value to each page. In almost all webpages, we can see the following html code:

   
   
  Webpage title
  
 
  
 
 

The above isMetaSome basic usage of tags, the most important of which is the setting of Keywords and Description. These two statements allow search engines to accurately discover your website in the vast network space and attract more people to visit your website! According to the working principles of the current popular search engines (Google, Baidu, etc.), the search engine first sends robots to automatically search on www. When a new website is found, it is easy to retrieve the Keywords and Description on the page, add it to your database, and then sort the website according to the keyword density.


Now we know how to use Keywords and Description. Next, we are more concerned about how to set Keywords and Description to be the most reasonable?


Tips for setting up Keywords and Description: Go to famous search engines such as Baidu and Google to search websites that are similar to your website content, view the meta keywords and descriptions of the top 10 websites for reference.

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.