Page 91 - ConceptGP_C7_Fb
P. 91

PURE       CSS (Cascading Style Sheets) was first proposed by Håkon Wium Lie on October 10,
                      FACT       1994 while working with Tim Berners-Lee at CERN.





                 BORDER PROPERTY
                 The border property is used to define the border of a table.




                       Property                 Options               Description                  Values



                                                                  Specifies the thickness  Thickness in cm, px, pt,
                                         width
                                                                  of the border            medium or thick

                                                                                           Dotted, dashed, solid,
                                                                  Specifies the type of    double, groove, ridge,
                         border          style
                                                                  border                   inset, outset, none, and
                                                                                           hidden

                                                                  Specifies  the colour  of   Colour name
                                         colour
                                                                  all sides of the border


                 Write HTML codes to use border property.


                 <!DOCTYPE html>
                 <HTML>

                 <HEAD>

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

                 Table

                 {
                 border:2px solid blue;

                 }
                 </STYLE>

                 </HEAD>
                 <BODY>

                 <TABLE>
                 <CAPTION>STUDENT'S DETAILS</CAPTION>

                 <TR>


                                                                                          Lists and Tables in HTML5  89
   86   87   88   89   90   91   92   93   94   95   96