Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Art in the site to do the front desk time, may have to pay attention to the optimization of knowledge, and some may not have paid attention to the optimization of knowledge. Everyone may have heard such a sentence: "Details determine success or failure", if we do not do a good job of web site design, SEO work may have a decisive impact, the following I will say from the art of doing a good job SEO early project:
First Flash effect
Early problems: We all know that the site to optimize the person is very clear one thing is: for the search engine does not crawl flash, because he is not able to read the code at all. and Flash has the same effect of JS code. So, everyone in the site optimization time is said that if the site flash, search engines are not too often crawl such sites, in fact, this is not too absolute, there are solutions.
Solution: The above problem we can not say is too absolute, this solution is still some, for example, you want to do a flsah effect, and do not want to prevent the search engine crawl, we can put the flash effect, into a GIF image, and then we set a div and then the picture as a pass up, Another is this picture plus a alt= "" attribute, so the effect of the site is also good-looking, also does not affect the site included aspects of the problem. Of course, this solution is not a decision, I just consider a relatively good solution, and the best solution is to try to make the site less flash, JS and so on.
Second Junk code
Preliminary question: Speaking of this garbage code I think I'll give you a picture will be better, we can look at the following picture:
Code like this should be a relatively useless code. There's a lot more to the rest of the junk code, and I'm just going to give you a simple example, and how do we defuse the space junk code above?
Solution: When confronted with a problem like the one above, we'd better not use the aspect of the blanks to indent the first line of the letter, or we would like to make the picture or the text in front of the two squares so that we have been knocking space, so although a solution but not the best solution, I suggest that we should do it:
Just like above, we can write a style in the Div, can also write a CSS style, and then put the code to write the CSS inside, so that the Web page to open the speed of the Web site to facilitate users to browse the site.
Third alt= "" Property
Early problems: Although this attribute is a cliché, but I still want to say a few words, why wordy? Because this problem is related to some pictures of a lot of sites, these sites are often not with ALT attribute. There are some pictures and texts combined with the article, is often the text displayed in the article, but the picture inside the article is not shown, there is a white box in the middle of a red fork.
Solution: After we update such a picture article, or we update the time of the picture, we must go into the code design of the page, in the path of the image plus this alt attribute, and the attribute added to the title or description, preferably contains some of your website keywords, but also can not you: alt= " Decoration and decoration. " If such words not only can not play the effect, and will bring to the site of the suspicion of cheating, so we should be prudent and use.
Iv. compatibility issues
Pre-issue: In our time to do the site, compatibility is the most difficult problem, but also we are the most error-prone, because there are too many browsers, we can not fully guarantee that the site is compatible with all browsers. How can we solve the problem of compatibility of Web sites with multiple browsers?
Solution: If you do it with Cssdiv, you can look at it or use CSS hack or using ietester software to simulate IE 6 7 8 If you have to install IE7 above or simulate IE8 But after modifying the CSS to make adjustments below give you a few simple special and small examples can refer to:
This is done through CSS styles to address the compatibility of Web browsers:
The above two methods may be used by some people, some people can't use it, and what I'm offering is just a good way for me to do it, depending on your situation, but these methods don't necessarily solve all the browser compatibility issues, just a reference for you.
Above about the art of four aspects, I just one-sided said a bit, in my imagination these are not comprehensive, but I know, today has time to write on these four aspects, if later I do in the process of encountering some problems, I will come out in time to share with you. Our website decorates the net http://www.zxdyw.com also once met. In the end it is slowly being solved, I think it is not a bad thing, because we only slowly learn things in the problem, if there is no problem that means you have not made progress. So, here we ask you to take your every problem seriously. This is my original article, please keep the link in the reprint time, finally, thank you for your click!