Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 57 - 2625 PortGPt V2.1
P. 57

    <HTML>

                     <HEAD>
                     <TITLE>A Simple Table Structure</TITLE>
                     <STYLE>
                     TABLE

                     {
                     Border:2px solid black;
                     Border-Color:Blue;

                     }
                     </STYLE>
                     </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;

                                                                                                  Introduction to CSS3  55

| 52 53 54 55 56 57 58 59 60 61 62 |