Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 49 - 2607_Trackpad_Pro_5.1_flipbook_C6
P. 49

    <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 web page

                                                                                  Specifies the image to be used in the
                      background-image          URL of image
                                                                                  background on the web page

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

                                                                                                Formatting a Web Page  47

| 44 45 46 47 48 49 50 51 52 53 54 |