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

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


Using Images in a Web Page

nce you've got your image, the next step is to place it in your Web page.

The way you insert your images depends on how you are using them:

  • If you want the image embedded in the content of your page, use the image tag:
    <img>
  • If you want the image to be your page's background, use the background attribute of the body tag:
    <body background="imageURL">
  • If you want the image to be a table background, use the background attribute of the table:
    <table background="imageURL">
    table row:
    <tr background="imageURL>
    or table definition:
    <td background="imageURL>


Comment and Contribute

 

 

 

 

 


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

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date