The basic knowledge and best practice to use meta tags in HTML

by changing name value attributes to define different meta tags.

metadata is usually understood as "data about data", one of the web pages in use is the use of the label’. The contents of the meta tags are generally expressed on the HTML page information, its role can not be replaced by other labels. In addition, the meta tag can also simulate a HTTP response header (such as redirected to a different page), at the same time, it also has such properties as http-equiv and charset, explains in detail the document metadata in the Mozilla developer community.

in the past, the search engine is on the meta label, such as title, description (title) (description) (keywords) or keywords to index the web page. In an ideal situation, if everyone is using them properly, they will be well applied in the middle of the page. However, some sites have begun to abuse them, the page filled with many famous words, aims to obtain a better search results. But the noble baby announced in 2009 in the search algorithm is no longer use meta keyword or description is ranking (Ranking).

, the important point is: not all traffic is from Bing and Yahoo, noble baby. Other search engines (such as love Shanghai) will give meta tag weight, calculate million search every day.

of different meta tags

Although the The

charset attribute is used to specify the page content encoding format. A HTML page can only set a charset. For most of the pages, you should.

The usage of

so important

Why is

if the description tag is empty (or non-existent), the search engine will generate a description from the page content.

meta tags

description of meta label has been on the search engine ranking has no effect, it will appear in search results. In other words, one click on your link is before you will see the description of the page in the search results, this also shows that, should add a description of the meta, convenient for users to read and not for the convenience of network robot to search. In general, although a good description of the meta will not increase the website ranking in the search results, but it will increase the click rate.

you can also use the meta tag to set the page author (author).

(descriptions) meta tag is the most commonly used:

use the meta tag in the basic knowledge of HTML and

best practices

Leave a Reply

Your email address will not be published. Required fields are marked *