Page 171 - Web Applications (803) Class 11
P. 171

<TH> Gender </TH>

                         </TR>
                         <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:





















                                                                            Website Development using HTML and CSS   169
   166   167   168   169   170   171   172   173   174   175   176