This Season
 

How to Add a Background Color to a Web Page

Background colors can add emphasis and provide contrast to a Web page.

Related Searches:
    Difficulty:
    Easy

    Instructions

      • 1

        Open a text-editing program, such as EditPad or Notepad. From the File menu, select Open.

      • 2

        Locate the Web page file and double-click to open it.

      • 3

        Place the cursor after the Head tag. Type the following: body bgcolor=.

      • 4

        Type the name of the desired color (green, blue, red) after the = sign.

      • 5

        Select Save from the File menu. Open your Web browser.

      • 6

        Open the file by clicking File, selecting Open and locating the file. Double click or select Open.

      • 7

        Upload the page to your Web site.

    Tips & Warnings

    • For more complex colors, use the HEX color chart, available in many HTML reference manuals.

    • If you use a dark or brightly colored background, be sure to use a contrasting color for your text, such as white or yellow.

    Related Searches

    Read Next:

    Comments

    You May Also Like

    Follow eHow

    Related Ads