1 Hour SEO : Domain Registration Bank : Ecommerce Dictionary : GoDefy : Great Web Design Tips
JavaScript 2 : Jumbo Keyword : Marketing Tips Store : Michael Wong Blog : Mike's Marketing Tools
Search Engines 2 : SEO eBook : Text Links Ads : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML > Images > <IMG ...>

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:

this code produces this

<A HREF="http://www.mikes-marketing-tools.com"><IMG SRC="mmt.gif"
HEIGHT=23 WIDTH=133 ALT="Mike's Marketing Tools"></A>

Mike's Marketing Tools

To remove the border, set the BORDER attribute to 0:

this code produces this

<A HREF="http://www.mikes-marketing-tools.com"><IMG SRC="mmt.gif"
BORDER=0 HEIGHT=23 WIDTH=133 ALT="Mike's Marketing Tools"></A>

Mike's Marketing Tools

For images that are not inside links, a BORDER value greater than zero sets a visible border around the image.

this code produces this

<IMG
SRC="pumpkin.gif"
ALT="picture of a pumpkin"
HEIGHT=100 WIDTH=100
BORDER=10>

picture of a pumpkin

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="..."> >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com