You can style the background of an element in one declaration with the background property. Values include attachment, color, image, position and repeat.
If you are using an image as a background, you can set it to scroll or fixed:
The background-color property describes the background color of elements.
The element <body> contains all the content of an HTML document. Thus, to change the background color of an entire page, the background-color property should be applied to the <body> element. You can also apply background colors to other elements including headlines and text. For example,
The background-image property is used to insert a background image.
To insert an image as a background image for a web page, simply apply the background-image property toand specify the location of the image. For example,
You can position a background image using the background-position property.
You can set if a background image is to repeat (across=x and/or down=y) the screen using the background-repeat property.