CSS for search engine optimization help

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

As we all know, now the most popular site code structure is div, today to talk about CSS for search engine optimization help.

CSS can make your website to search engine more friendly, the website reasonable use CSS, can let search engine's spider to your website more readable, more easy index.

A very simple example of a picture on your site, although search engine spiders are very clever, but they still do not understand the text in the picture, when the search engine crawling your site will encounter obstacles, see this picture, do not know what, however, we can use CSS, this picture control as background display, This does not appear in the page code, but the user browsing the page can be displayed normally.

Another point, many of our pictures with text should be minimized, the picture background and text independent, the background with CSS control, and text directly written in the code, so that the appearance can be retained, and the search engine spider crawling is also very friendly. Obviously, direct text is better for SEO than adding alt on a picture, because search engines can't tell you that your alt text is completely related to your picture. As a result, text is more trusting to search engines than pictures and ALT attributes.

Here's a list of some common scenarios that don't take advantage of search optimizations for reference:

1. The website navigation uses the picture (solution: Uses the CSS to control the display background, uses the text connection. )

2. Use a large number of table layouts (Workaround: Website refactoring revision, recommended with Div layout, because the structure is clear, code streamlining. )

3. The Web page uses CSS and JavaScript code (workaround: Call the external CSS file and JS file in the header with a connection)

4. The site uses a lot of flash (solution: Minimize use, but some sites must be used, please use Google's SWFObject tool to add the appropriate text.) Sort of like Alt,swfobject's address: http://code.google.com/p/swfobject/)

Above personal opinion, hope to be helpful to everybody.

Wen/shallen depth SEO lab.

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.