Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 130 - 2612 Digimind C6
P. 130

    <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.

                      128   Premium Edition-VI

| 125 126 127 128 129 130 131 132 133 134 135 |