Online Design
Saturday, February 23, 2019
Thursday, September 7, 2017
Friday, August 4, 2017
Wednesday, June 21, 2017
Friday, March 11, 2016
Wednesday, January 23, 2013
Linking to an image
- Place your image in the HTML document:
<img src="image.gif" alt="alt text" />
- In front of the image tag, add your starting anchor link:
<a href="URL"><img src="image.gif" alt="alt text" />
- Add a style to remove the border from the image:
<a href="URL"><img src="image.gif" alt="alt text" style="border:none;" />
- Then close the anchor tag right after the end of the image tag:
<a href="URL"><img src="image.gif" alt="alt text" style="border:none;" /></a>
If you leave off the style, the image will have a border around it in the default link color.
from http://webdesign.about.com/od/htmltags/ht/htlinkimage.htm
Tuesday, October 9, 2012
Subscribe to:
Posts (Atom)