More using about the background-color
property
How to use background and foreground colors together effectively
How to set a background image and how to control the display of that background
Which types of images you can use as backgrounds
In Hour 2, “Getting Started with CSS,” you learned how to use the background-color
property to change the appearance of HTML elements. Background colors can be used to good effect in web design to group related items together, or to highlight important parts of the page. In addition to pure colors, you can also use images as backgrounds for the whole page or for any element on the page.
No credit card required