BACKGROUND COLOUR

 

GENERAL INFORMATION

 

To set the background colour, you need to specify add an attribute inside the <body> tag itself.

 

            <body bgcolor=”pink”>

 

LOCATION OF USE

           

You add the bgcolor attribute inside the <body> tag.

 

COMMON ERRORS

 

 

EXAMPLE

 

Click here to see an example.  Use View Source to see the code.