In the last tutorial we discussed the basics and syntax of CSS, where to write the files and how to apply them to our pages. In this brilliant article, we will go over how to apply styles to backgrounds and text. So let's get busy.
CSS: Backgrounds - How to Set the Background Color (Page 2 of 5 )
You can set the background color of an object using the background-color property. Here is some code to show you how to do so for several elements, using colornames, colorcodes, and hexvalues: