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


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

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
Thanks for your registration, follow us on our social networks to keep up-to-date