Seo optimizes div and table la S

Source: Internet
Author: User

Seo optimizes div and table la S

When I started learning web pages, I didn't even know what seo was or how dynamic websites were made. Naturally, I couldn't make any money when I was doing websites, not to mention the top few search engines. I don't even know what div is.

Now let's look at the differences between table and div layout.

Table is composed:

<Table class = classname> <tr> </td> content </td> </tr> </table>

If we want to display multiple rows of data, there will be a lot of tr and td. Next let's look at the div layout.

<Div class = classname> displayed content </div>

If I want to be careful, I will find that the difference between the two is that there is only one and fewer Code. Now I will talk about the differences between them.

In terms of code, div is obviously dominant. For example, if I want to control it with an external css, it is obvious that div is easily controlled, for another example, I want to read and analyze an article with table labels and div labels, so you will feel a big difference.

Summary:

Div code reduction can basically achieve separation of css and div, while table is not as good as div,

Original: www.111cn.net reprinted and noted

Related Article

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.