February 2006
Intermediate to advanced
826 pages
63h 42m
English
It’s been common practice to add a background color to a page using the bgcolor attribute in the body element in HTML. With CSS, not only can you provide a background color for a whole page, but for any element in the document, both block-level and inline. Boxes of color anywhere you want them . . . and no tables required!
Background color is declared with the (no surprise here) background-color attribute.