Any JPG image can be made into a web link by wrapping the "<img>" tag in the "<a href>" tag in the HTML code. The "<a href>" tag is what creates the link, while the location of the image is place in the "<img>" tag. The "<img>" tag also contains the attributes that size the image and specify what size border you want around the image. You can make create web links with other images (such as GIF images) in the same way.
- Skill level:
Open a blank document in a text editor such as Windows Notepad.
Create the HTML document.
Type the line "<a href="example.com"><img src="image.jpg" alt="My Clickable Image" width="300" height="300" border="0" /></a>" where you want your linked image. Substitute the name of your JPG file for "image.jpg" and the text you want displayed along with the image instead of "My Clickable Image."
Finish the HTML document.
Save the document with the HTML file extension.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for