110
Add a Background Image .......................................
2 Within the declaration, type
background-image:.
1 In your editor, open a
document that contains an
embedded style sheet and an
existing body declaration.
Add a Background Image
Y
ou can use an image as the background on your page with the CSS background-image
property. A background image can be placed within any element on the page, although putting
it in the body so that it comprises the background for the entire page is common. Although you can
in theory use any JPEG, GIF, or PNG for your background, you should be careful to ensure that the
image does not distract from the page, so you should pick an image that does not contain a lot of
contrast and is overall fairly subtle.