|
HTML Attribute for <IMG ...>
BORDER =integer
BORDER is most useful for removing the visible border around images which are inside links. By default images inside lunks have visible borders around them to indicate that they are links. However, user generally recognize these "link
moments" and the border merely detracts from the appearance of the page. For example, this button has a border around it:
<A HREF="http://www.google.com"><IMG SRC="google.png"
HEIGHT=21 WIDTH64 ALT="Google"></A>
|
|
|
To remove the border, set the BORDER attribute to 0:
<A HREF="http://www.google.com"><IMG SRC="google.png"
BORDER=0 HEIGHT=21 WIDTH64 ALT="Google"></A>
|
|
For images that are not inside links, a BORDER value greater than zero sets a
visible border around the image.
<IMG
SRC="pumpkin.gif"
ALT="picture of a pumpkin"
HEIGHT=100 WIDTH=100
BORDER=10>
|
 |
Netscape still has problems correctly rendering visible borders. If you want a
border around your image it may be better to simply add the border directly to
your image using your favorite graphics editor.
<IMG HSPACE="..."> >