CSS Background Color

This example sets the main background to blue, and the background of heading 1 to green. This is set using an internal Style Sheet.


Other examples in Colors (CSS Tutorial)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 5.0