Page 93 - Plus V4 with Adobe class 7
P. 93
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, (whereas, Specifies the repetition of an image on
background-repeat
x- horizontal & y-vertical) no repeat the web page.
Create an HTML5 web page by using the background properties.
<!DOCTYPE html>
<HTML>
<HEAD>
<STYLE>
BODY {background-image: url("D:\tile.png");
background-repeat:repeat-y;}
H1 {background-color:green;
text-align:center;}
</STYLE>
</HEAD>
<BODY>
<H1>Tiles</H1>
</BODY>
</HTML>
Interdisciplinary Learning
#Science
Write HTML code to create the following chemical formulas:
1. Sulphuric Acid: H SO 4
2
2. Magnesium chloride: MgCl
2
#Lab Activity
#More on HTML5 91

