Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why should the webpage code conform to the WEB standard as much as possible in SEO?

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you why the SEO to make the web code as far as possible in line with the WEB standard, I believe that most people do not understand, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

DIV+CSS is an embodiment of Web standardization. But don't think that all you have to do is to make the site a DIV+CSS representation. With regard to the application of Web standardization on SEO, we can go further.

If a web page uses DIV+CSS typesetting, it will have the following web page model.

This web page model is embodied in the web page code as follows:

The content layer is some plain text messages, as well as some non-background pictures.

The structure layer is some html tags, such as,

Wait.

The content of the content layer and structure layer can be seen by search engines.

The presentation layer is the CSS file. In order to make the code invisible to search engines, it is generally called out as a CSS file, such as:

The code in this CSS file is similar to the following. It can also be used as a background with pictures:

Html, body {

Padding:0px

Background-image:url. / images/bg.gif)

}

# logo {

Width:258px

Float:left

}

Above these three layers are some Javascript files responsible for interaction. Also in order to let the search engine can not see the code, it is external.

Change roles and imagine, from the point of view of search engines, how to understand what the page says when a search engine analyzes a web page.

Some so-called search engine crawler simulators (http://tool.chinaz.com/Tools/Robot.aspx) grab all the text from a web page and see what the crawler sees. In fact, this is very unscientific. Because just looking at these words, how does the search engine understand the context, and what else is the key point?

To understand the context and the key points, you must use the html tag in the structure layer. Because these tags express the level of information. For example, it is expressed as a title. The title in represents an alternative description text for a link. And express the parts that should be paid attention to in the content.

Table-laid-out pages also have these tags, but when expressing information, its nested structure and a large number of code that are ineffective to search engines prevent the expression of information levels.

Even if the DIV+CSS typesetting page, sometimes after a piece of content is not closed, the search engine can not understand the content of the page very well. The nesting structure of div+css typesetting pages is also not friendly.

In addition, many people may blindly pursue keyword density without paying much attention to these tags. In fact, search engines pay more attention to the location of keywords than keyword density. The importance of the search engine to the factors in the site fully mimics the typesetting of newspapers. So, you add a lot of keywords and find that the ranking has gone up, probably not because of the increase in keyword density, but because you happen to add keywords to a more important position.

Some people should have noticed these tags, but because they have not considered the problem from a fundamental point of view, there are many other things that have not been done. For example:

There are many things that can be used in the Web standard, such as text tags, etc., these tags mean that search engines can fully recognize them; in addition, the attribute title can be added not only to tags, but also to tags, etc., if you make a keyword density, you can use it in these tags; bold text can also be used with tags. Even tags have a summary attribute that can add content.

There are also "microformats" that many SEO people have not paid attention to.

Generally speaking, microformat is a kind of structured semantic markup similar to XML. It tries to make it easier for the machine to understand the content on the web. Now this microformat search engine can be read. I use a wordpress program for this blog. If you look at the source code now, you can see a specific application of microformats. Such as:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report