• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Page Layout > Using Background Color

Using Background Color

Tired of basic gray? The BGCOLOR tag lets you set the background color of each Web page you create.

To set the background color:

1.
In the BODY tag, after the word BODY but before the final >, type BGCOLOR="#rrggbb", where rrggbb is the hexadecimal representation of the desired color.

Or type BGCOLOR=color, where color is one of the 16 predefined colors.

2.
Add other attributes to the BODY (like link and text colors) as desired.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint