Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 62 - 2609_Logiccode
P. 62

    <TH>Name</TH>

                      <TH>Grade</TH>
                      <TH>Gender</TH>

                      </TR>

                      <TR>

                      <TD>1</TD>
                      <TD>Aryan</TD>

                      <TD>A</TD>

                      <TD>Male</TD>
                      </TR>

                      <TR>

                      <TD>2</TD>
                      <TD>Ananya</TD>

                      <TD>B</TD>

                      <TD>Female</TD>

                      </TR>
                      <TR>

                      <TD>3</TD>

                      <TD>Arjun</TD>
                      <TD>A</TD>

                      <TD>Male</TD>

                      </TR>
                      </TABLE>

                      </BODY>

                      </HTML>

                                CSS PROPERTIES USED WITH THE <TABLE> TAG

                      CSS  provides several properties  to  style  the  appearance  of a  table.  These  include  BORDER,
                      BORDER-STYLE,  BORDER-COLOR,  BORDER-SPACING,  BORDER-COLLAPSE,  WIDTH,  PADDING,
                      BACKGROUND-COLOR and COLOR. Since these are global CSS properties, they can be applied
                      not only to tables but also to other HTML elements.

                       60   Premium Edition-VII

| 57 58 59 60 61 62 63 64 65 66 67 |