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

Chapter 38. Basic HTML Editing > Codes for Backgrounds

Codes for Backgrounds

The <body> tag can be expanded to define document-wide attributes for your Web page. The most common use of <body> attributes is to assign a color or image to the background of your Web page.

Background Color

You assign a background color by adding a special bgcolor code (called an attribute) within the brackets of the “on” <body> tag, like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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