Page 111 - iPro_trackGPT_V5_Class7
P. 111

border:2px;

                 border-style:solid;
                 border-color:green;

                 }

                 </style>
                 Let us create a table using the above properties.
                 <!DOCTYPE html>

                 <HTML>

                 <HEAD> <TITLE> Students of Class 7 </TITLE>
                 <STYLE>
                 TABLE, TH, TD

                 {

                 border:2px;
                 border-style:solid;

                 border-color:green;
                 }

                 </STYLE>
                 </HEAD>

                 <BODY>
                 <TABLE>

                 <CAPTION> Table : Student </CAPTION>
                 <TR>

                   <TH> Roll No. </TH>

                   <TH> Name </TH>                                             A beehive's hexagonal cells, each
                                                                                 with a specific role, resemble
                   <TH> Grade </TH>
                                                                               how a table's rows and columns
                   <TH> Gender </TH>
                                                                                         organise data.
                 </TR>

                 <TR>
                   <TD> 1 </TD>

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

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

                 <TR>



                                                                                       Lists and Tables in HTML  109
   106   107   108   109   110   111   112   113   114   115   116