How to create a clickable web link on a jpg

Written by kristen waters
  • Share
  • Tweet
  • Share
  • Email

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:

Other People Are Reading


  1. 1

    Open a blank document in a text editor such as Windows Notepad.

  2. 2

    Create the HTML document.

  3. 3

    Type the line "<a href=""><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."

  4. 4

    Finish the HTML document.

  5. 5

    Save the document with the HTML file extension.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.