Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering a guide to professional web site design, web page design and web design guidelines

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

Specifying the Background Color of an HTML Web Page


You can specify the background color of an HTML web page.

The BODY tag follows the HEAD tag within an HTML document.

The contents of your web page is displayed between the BODY tags. This includes everything displayed when viewed through a web browser.

You can specify the background color of an HTML web page by adding the BGCOLOR attribute to your HTML BODY tag.

Specifying the background color of an HTML web page isn't necessary if you simply want the background color white, as this is the default setting.

However, if you would like to display the background color in any other color, you must include the BGCOLOR attribute.


Background and Text Colors:


<body BGCOLOR="#FFFFFF">

Edit the color code indicated in red to suit your needs.

Although you can specify the background color of an HTML web page, it is always best to display black text on a white background.

 More Web Design Tips