HTML Tutorials

How to Get a Background Color on Your Web Page

Back to Home Page      Back to HTML Tutorials Home Page  

Back to HTML Codes and Questions

 

Getting a background color is easy.  Just type in the following code.  There are millions of colors from which you can choose.  You may want to search the web or look in a reference book for color codes.  


<HTML>

<HEAD>

</HEAD>

<BODY BGCOLOR = "BLUE">

My web page will now have a bright blue background.

 

/BODY>

</HTML>

 

 

Here is a short list of color codes that may work well for a background color:

lightblue

lightcoral

lightcyan

lightgreen

lightgrey

lightseagreen

lightskyblue

lightyellow