Page 122 - CodePilot V5.0 C7
P. 122

<TH>Name</TH>

                  <TH>Grade</TH>
                  <TH>Gender</TH>                                                      In earlier versions of HTML,
                                                                                       you can change the style of
                  </TR>
                                                                                       unordered list by using the
                  <TR>
                                                                                            TYPE attribute.
                  <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>                                                          Tables were first introduced in
                                                                                      HTML 3.2 (1997).
                  <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.







                  120
                        CodePilot (V5.0)-VII
   117   118   119   120   121   122   123   124   125   126   127