dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

Using Graphics : Page 3

Just having a collection of Web-ready graphics is a good start. Now you have to learn how to use them effectively on your Web pages.


advertisement

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Background Images

You can use an image as the background of an entire Web page.

To use an image as a page background of a Web page, add the "background" attribute to your page's body tag, like this:



<body background="imageURL">

The background attribute's value is the URL of the image you want to use for the page background. If this image is not large enough to fill the entire page, it automatically tiles (repeats) to do so.

Don't go overboard with your background images! Remember that people have to read the text and see the other information that appears on top of it.

background sample Here's an example of a page background that uses the background well—see how it adds a little flavor without getting in the way.
background sample Here's an example of a page background that uses the background poorly. The image was nice, but not the right choice for a background.

Check out the HTML Basics: Backgrounds and Colors tutorial for more information on adding background images and colors.



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date