How to Insert a Hyperlink Into a JPEG

Written by joshua laud
  • Share
  • Tweet
  • Share
  • Email

You can insert a hyperlink into a JPEG image on your website if you want to link the image to another location. Hyperlink is the HTML (hypertext markup language) name for links to other Web pages and websites. While you do not insert the link directly into the JPEG tag, you enclose the JPEG tag within the hyperlink tag. This allows you to make a link of the whole image. This works with all image types -- not just JPEGs.

Skill level:

Other People Are Reading


  1. 1

    Open your HTML editor, or if you don't have one open your HTML page in Notepad.

  2. 2

    Locate the JPEG image code -- for example: <img src="myimage.jpg">.

  3. 3

    Add the following before the image tag:

    <a href="location.html">

  4. 4

    Add after the image tag:


    So the complete tag in this example would read:

    <a href="location.html"><img src="myimage.jpg"></a>

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.