Page 75 - TP-Play_V-2.0_Book-7
P. 75
Life on earth is sustained majorly due to the atmosphere. It consists
of 4 layers, namely troposphere, stratosphere, mesosphere and
thermosphere.</P>
</BODY>
</HTML>
BACKGROUND PROPERTIES
The background properties are used to make changes in the background of a web page. The
various background properties and their values are given in the table.
Property Value Description
Specifies the background colour to be
background-color Name of the colour
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,
Specifies the repetition of an image on
background-repeat (whereas, x-horizontal &
the web page.
y-vertical) no repeat
Create an HTML5 web page by using the background properties.
<!DOCTYPE html>
<HTML>
<HEAD>
<STYLE>
BODY {background-image: url("D:\tile.png");
More on HTML5 75

