Page 117 - iPlus_Ver_2.0_class_7
P. 117

<TR>
                           <TD> 1 </TD>

                           <TD> Aarav </TD>
                           <TD> B </TD>
                           <TD> M </TD>

                        </TR>
                        <TR>
                           <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>
                 In the preceding code, we 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 of the table. The output
                 of the preceding code is shown:




















                                                                                                                 115
                                                                                        Lists and Tables in HTML
   112   113   114   115   116   117   118   119   120   121   122