View Full Version : Making Images A Link
04-03-2005, 11:02 AM
could someone please tell me the html code to make images into links
04-03-2005, 11:08 AM
could someone please tell me the html code to make images into linksPlace the img element inside an a element:
<a href="http://www.example.com/"><img alt=""
src="http://www.example.com/example.jpeg"></a>As the image won't be purely decorative, you should place a textual replacement for it in the alt attribute which is currently empty. For example, if the image contains the text, "Home", that should be the value of the alt attribute.
04-03-2005, 01:59 PM
thanks for that :D
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.