x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<title>Example</title>
5
6
<!-- Styles --> 
7
<style>
8
body {
9
  background-image: url("/pix/samples/bg1.gif");
10
  background-position: 50% 50%;
11
  background-repeat: repeat;
12
}
13
</style>
14
</head>
15
<body>
16
17
<!-- HTML -->
18
<h3>Whole Page</h3>
19
<p>This example has a background image applied to the <code>body</code> element.</p>
20
21
</body>
22
</html>