Friday, December 24, 2010

Inserting a Background

If used properly, backgrounds can really enhance your site. If used incorrectly, they can make your site very difficult to read.
If you plan to use a "loud" background that you think is cool, be sure to keep your visitors in mind. Even though you may love it, it may be distracting for the average visitor and you certainly do not want a background that takes away from your text.
In general, try to use light backgrounds on dark text.
To insert a background color on your web page, use the following code INSIDE your <body> tag:
<body bgcolor="red" >
You can specify any color, or you can use a hex value .

Inserting a Background Image

If you want an image for your background then you would use the background and image tag together:
<body background="images/weave.gif"> 
Keeping in mind that "images/weave.gif" is the location of the graphic. So you’re telling the browser that the graphic is located in your images folder off the root/main directory.  You can also use the absolute path to your image.  For example, http://www.yourdomain.com/images/weave.gif

2 comments:

Anonymous said...

nice and very informative site.


http://2-createablog.blogspot.com

Anonymous said...

Tips For Blogging

Post a Comment