Page 122 - CA 165 ver 1.0 Class 10
P. 122

Border Color

                  The ‘border-color’ property enables to set the colour of the four sides of border. All the four sides of a
                  border can also be individually customized to have different colours in each side. If the colour of border
                  is not set, it inherits the colour of the text which is surrounded by the border. Syntax to use 'border-color'
                  property is as follows:

                    <P STYLE=“BORDER-COLOR: Name of the Colour;  BORDER-STYLE: Name of the style;”>

                    Text
                    </P>



















































                  Border Width

                  The ‘border-width’ property enables to set the width of a border. The value width could be either a length
                  in ‘px’, ‘pt’ or ‘cm’ or it should be set to thin, medium or thick. All the four sides of a border can also be

                  individually customized to have different width in each side. Syntax to use 'border-width' property is as
                  follows:
                    <P STYLE = “BORDER-WIDTH: Value of Width; BORDER-STYLE: Name of the Style;”>

                    Text
                    </P>

                   120   Touchpad Computer Applications-X
   117   118   119   120   121   122   123   124   125   126   127