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

BACKGROUND COLOR
                 The Background Color property of style sheet is used to change the background colour of an element.
                 Syntax to apply background colour in CSS is as follows:

                   <H1 STYLE=“background-color:Name of the Colour;”>Text</H1>











































                   CSS BORDER

                 The CSS border properties enable to specify the style, width and colour of a border.



                                                                                        Cascading Style Sheets   117
   114   115   116   117   118   119   120   121   122   123   124