Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 28 - 2606_PlugGPT_C7_Flipbook
P. 28

    Write HTML codes to use border property.

                      <!DOCTYPE html>

                      <HTML>

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

                      <STYLE>

                      Table
                      {
                                                                                     A beehive's hexagonal cells, each
                      border:2px solid blue;
                                                                                       with a specific role, resemble
                      }                                                               how a table's rows and columns
                                                                                              organise data.
                      </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>

                       26   Premium Edition-VII

| 23 24 25 26 27 28 29 30 31 32 33 |