Page 54 - TP_Prime_V2.2_Class7
P. 54

<TD> A </TD>

                    <TD> M </TD>
                  </TR>

                  <TR>
                    <TD> 3 </TD>                                                  A beehive's hexagonal cells, each

                    <TD> Himakshi </TD>
           Prime (Ver. 2.2)-VII    <TD> A </TD>                                    how a table's rows and columns
                                                                                    with a specific role, resemble

                    <TD> F </TD>
                                                                                           organise data.
                  </TR>
                  <TR>

                    <TD> 4 </TD>
                    <TD> Rakshit </TD>

          52        <TD> B </TD>
                    <TD> M </TD>

                  </TR>
                  </TABLE>

                  </BODY>
                  </HTML>







                                              Table : Student

                                    Roll No.   Name    Grade Gender
                                    1        Aarav     B      M
                                    2        Gauransh  A      M
                                    3        Himakshi A       F
                                    4        Rakshit   B      M


                  In the preceding code, you have seen that rows are created by using the <TR> tag. Rows are
                  further divided into cells by using the <TD> tag. These cells contain data from the table.


                  Using Border-spacing Property
                  The border-spacing property is used to specify the space between the borders of adjacent
                  cells. For example:


                  <STYLE>
                  TABLE, TH, TD
   49   50   51   52   53   54   55   56   57   58   59