Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 39 - 2606_PlugGPT_C6_Flipbook
P. 39

    <P style="font-family:Times  New Roman; text-transform:uppercase">
                     Energy is the capacity for doing work. It may exist in potential,
                     kinetic,thermal,  electrical,  chemical, nuclear,  or other  various
                     forms.</P>
                     <hr style="width:80%; height: 10px; background-color:grey;">
                     <P style="font-family:Times New Roman; text-transform:lowercase">
                     Energy is a requirement in our everyday life as a way of improving
                     human development leading to economic growth and productivity.</P>
                     </BODY>

                     </HTML>

                             uiz   Bee        Which CSS property is used to align the text?
                                              _________________________________________________________________

                               BACKGROUND PROPERTIES

                     The background properties are used to make changes to the background of an HTML element.
                     The various background properties and their values are given in the table.

                             Property                        Value                             Description

                                                                                  Specifies the background colour to
                      background-color          Name of the colour
                                                                                  be used on the webpage.

                                                                                  Specifies the image to be used in the
                      background-image          URL of image
                                                                                  background on the webpage.

                                                repeat, repeat-x, repeat-y,
                      background-repeat         (whereas, x- horizontal &         Specifies the repetition of an image
                                                y-vertical) no repeat             on the webpage.

                                                                                                Formatting a Webpage  37

| 34 35 36 37 38 39 40 41 42 43 44 |