Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 37 - 2615_KEC
P. 37

    <STYLE>

                     Table
                     {
                                                                                    A beehive's hexagonal cells, each
                     border:2px solid blue;
                                                                                      with a specific role, resemble
                     }                                                               how a table's rows and columns

                     </STYLE>                                                                organise data.
                     </HEAD>
                     <BODY>

                     <TABLE>

                     <CAPTION>STUDENT'S DETAILS</CAPTION>
                     <TR>
                         <TH>ADMISSION</TH>

                         <TH>NAME</TH>
                         <TH>TOTAL MARKS</TH>

                     </TR>
                     <TR>

                         <TD>2016/0256</TD>
                         <TD>Aadya Kaushal</TD>

                         <TD>589</TD>
                     </TR>

                     <TR>
                         <TD>2017/0865</TD>

                         <TD>Shweta Kaushal</TD>
                         <TD>545</TD>

                     </TR>
                     </TABLE>

                     </BODY>
                     </HTML>
                     Syntax for defining a common style for more than one HTML tag.

                     <HEAD>
                     <STYLE>
                         Tag1_name, Tag2_name, Tag3_name and so on

                                 {
                                   Property1_name: value;

                                                                                              Lists and Tables in HTML5  35

| 32 33 34 35 36 37 38 39 40 41 42 |