background
Background is used to alter the background properties of any specified element. You can use simple hex colors or if you want to be more creative you can create an image using your preferred graphics package and specify that image as the background to be displayed.
Using a simple hex colour applied to the body tag. Hex colours can be specified in shorthand or long hand. #000000 is the long hand for the color black however you can achieve the same result by using #000 which is the same using the shorthand version.
Example of the hex value for the colour black specified as the background colour for the body element.
body {
background: #000000;
}
Example using the image image.gif as the background image.
body {
background: url(/images/image.gif);
}
Other related properties of the background element
background-color
background-image
background-repeat
background-attachment
background-position
