Showing posts with label MORE ABOUT IMAGE BORDERS. Show all posts
Showing posts with label MORE ABOUT IMAGE BORDERS. Show all posts

Tuesday, 10 March 2015

MORE ABOUT IMAGE BORDERS

You learned about the border attribute of the<img> tag as art of the section on links, where setting border to a number or to 0 determined the width of the image border (or hid it entirely).,
By default, images that aren’t inside links don’t have borders. However, you can use the border attribute to include a border around any image, as follow:
<p> <img src =”eggplant. Gif” alt =”Eggplant” align =”left” border=”5” width =”102) height =”178”/>
This is an eggplant. We intend to stay a good ways away from it,
Figure 8.28 shows an image with a border around it.