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:
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 |