Page 112 - iPro_trackGPT_V5_Class7
P. 112

<TD> 2 </TD>

                    <TD> Gauransh </TD>
                    <TD> A </TD>

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

                  <TR>
                    <TD> 3 </TD>

                    <TD> Himakshi </TD>
                    <TD> A </TD>

                    <TD> F </TD>
                  </TR>

                  <TR>

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

                    <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>


                   110    TrackGPT iPRO (V5.0)-VII
   107   108   109   110   111   112   113   114   115   116   117