1 {HTML} Image Link Code Tue Feb 01, 2011 2:17 am
des
Achiever
To create a border around your image when linked, use the 'border' attribute, specifying the size of the border. For example, type border="2" in the img tag.
Note that, if you don't provide the 'border' attribute, some browsers will automatically display a border.
Code:
Image Link Code: No Border
To remove the border, type border="0" in the img tag.
Code:
Note that, if you don't provide the 'border' attribute, some browsers will automatically display a border.
Code:
- Code:
<a href="http://www.natural-environment.com/blog/2008/11/07/what-is-the-worlds-largest-rabbit/" target="_blank">
<img src="http://www.quackit.com/pix/worlds_largest_rabbit_2.jpg" width="200" height="261" border="2" alt="Photo of a big bunny rabbit!" />
</a>
Image Link Code: No Border
To remove the border, type border="0" in the img tag.
Code:
- Code:
<a href="http://www.natural-environment.com/blog/2008/11/07/what-is-the-worlds-largest-rabbit/" target="_blank">
<img src="http://www.quackit.com/pix/worlds_largest_rabbit_2.jpg" width="200" height="261" border="0" alt="Photo of a big bunny rabbit!" />
</a>