Code semantics improves web site friendliness to search engines

in recent days with a snack in the studio station — leisurely Sky Studio (L-SKY.STUDIO) above, did not pay attention to it is mainly because customers are almost always from the line, a small goal is just to give yourself a space, "do it! Go home for more than 20 days, has been made team blog – green outfit marketing planning agencies, Baidu has been included, hope that the new year this time you also don’t relax, a lot of awesome

is good!

these days to the studio background to add online generated Robots.txt files and online visitors to these two functions, a period of time that the spider God here is quite diligent tested, especially Yahoo China and Baidu, but basically is the home page, the chain is relatively small. A few days ago when writing the spider crawling recording function, accidentally put two Baidu and Google spider shut out, out of the daily 2 days a snapshot update now to 5 days is not updated! In order to attract spiders greatly care, to the front of the code turned out. According to "search engine optimization rules" the points inside the whole optimized code. Please note: I’m going to say is not if you want to learn SEO optimization, SEO optimization, marketing planning and other knowledge, please see our team blog – green outfit marketing planning agencies, there are absolutely everything you want!

, the top priority I’ve made this time is, in fact, the following:

code semantics

The semantics of

code is definitely a truism. Baidu, you’ll find plenty of articles about code semantics. So, why should the semantic code? We know that has its own specific meaning for each label inside the HTML, and the semantic labels, is that we should use appropriate tags in the appropriate position, so as to let people better and machine (which said machine can be understood as the search engine spiders people) at a glance. For more information, please visit our team blog……

How does

use the right tags in the right place?

, this is a simple understanding logic. For example, h1~h6 tags are used for header classes; UL is for unordered lists; ol is for lists; DL is for defining lists; EM and strong tags are for emphasis… To put it plainly, each English definition of the HTML tag determines its semantics. (later in this article, I’ll put in an English explanation list of the commonly used HTML tags for reference).

what kind of code can make people and machines clear,

?The best way to check the semantics of a HTML page is to remove the CSS link from the page, see if the page structure is in order, and whether the page is still readable or not,

. Why do you say that? Everybody knows that browsers are all

Leave a Reply

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