Page 49 - 2403_Trackpad_V5.1_C6_Fb
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

