Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 38 - 2615_KEC
P. 38

    Property2_name: value;

                                    -      -
                                    -      -
                                    }

                      </STYLE>
                      </HEAD>

                      An HTML  codes  to use border property for defining a common  style for more than  one
                      HTML tag:

                      <!DOCTYPE html>
                      <HTML>

                      <HEAD><TITLE>A Simple Table Structure</TITLE>
                      <STYLE>
                      TABLE,TH,TD

                      {
                      border:2px solid black;

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

                       36   Premium Edition-VII

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