Table and Div on the search engine

Source: Internet
Author: User
Keywords Host Space

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

Preface .... The masters are not accustomed to turn off the leave. The structure of table and Div is large

as follows:

<TABLE><TR><TD></TD></TR></TABLE>
<DIV><DIV></DIV></DIV>

<TABLE> is a form
<DIV> is a layer

First of all, the friends who are not clear first see this two lines of code and then compare it.

What is the number of characters in the data?

The DVI code must be a lot simpler. This is the convenient search engine.

Below to analyze how to facilitate search engines.

First of all to discuss this I personally think that the more appropriate, a row of 8 columns to say ... It's going to be a little messy. 8630.html "> Sometimes not remember

How many columns do you have to set up? It's OK to use DW.

Build a table to see ....

        <table width= "100%" border= "2" cellspacing= "0" cellpadding= "0" >
        <tr>
        <TD > </td>
        <td> </td>
         <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
         <td> </td>
        </tr>
        <tr>
        <td colspan= "8" > </td>
        </tr>
        </table>

Analog search engine Reading program algorithm: When the search engine came, he will first read <table> Oh, he knew it was a form, and the next step was to read <TR>, and he knew it was tr when he had TR, so read on to the next step <TD> , read here to determine whether there are other colspan (number of columns). This attribute is not found in the first line, which proves that there may be a next colspan, and now we should not read it first to see if there is any data in it. The result is empty. To the next <TD> ... Direct presence </TABLE> end of data reading for this table .... And then.... Of course it's the question of how many keywords you have, and that's not the point. See the red part? Remember these first. Next to analyze the Div <div><div><div><div><div><div><div><div><div> <div></div></div></div></div></div></div></div> Here you can discharge n How many do you want to count? The first Div is a big box, the second div I calculate his width of 100% is a line.

Below the model looks like the search engine's program algorithm. Read to <DIV> reread for content or other <DIV> (each read a DIV with a register to remember, mainly used to do the return loop, where you can directly remove, to prevent the program error.) Then read and read. What about the two of you looking back at <TABLE> <DIV>?

The answer is obvious, first of all, the user's IE parsing very quickly. This is the user experience, very important.

Moreover, the algorithm is simple, the speed is fast.

The volume is relatively small. There is less storage space.

Don't tell me if my <TABLE><TR> TD has 10,000, how many characters do you see in <DIV>? Dizzy ... There are 10,000 TD in one line you can read the content to the user? Don't be so boring ... I will not operate the site, I hope to have the operation of the Masters of the younger brother, I thank you. qq:82069236 Reprint Please specify: The network New era feeling start: ADMIN5 outdated

Need host space, virtual host remember to find me Oh nowcn.net

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.