Page 84 - Modular_V1.1_Flipbook
P. 84

<H1 style="color:Blue;margin-left:20px;"> Cascading Style Sheet</H1>

                  <H2 style="color:Green;margin-left:30px;"> Inline Style Sheet</H2>
                  </HTML>



















                                                          Using inline stylesheet

                      BACKGROUND COLOR

                  The Background Color property of style sheet is used to change the background colour of an element.
                  Syntax: <H1 STYLE=“background-color:Name of the Colour;”>Text</H1>

                  <HTML>
                  <HEAD>
                  </HEAD>

                  <BODY>
                  <H1 STYLE="background-color:Violet;">Rainbow</H1>
                  <H1 STYLE="background-color:Indigo;">Rainbow</H1>

                  <H1 STYLE="background-color:Blue;">Rainbow</H1>
                  <H1 STYLE="background-color:Green;">Rainbow</H1>
                  <H1 STYLE="background-color:Yellow;">Rainbow</H1>

                  <H1 STYLE="background-color:Orange;">Rainbow</H1>
                  <H1 STYLE="background-color:Red;">Rainbow</H1>






















                                                       Changing background colour


                  82      Touchpad MODULAR (Version 1.1)-IX
   79   80   81   82   83   84   85   86   87   88   89