DISCOVER
×

How to Insert a Hyperlink Into a JPEG

Updated July 20, 2017

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.

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

Locate the JPEG image code -- for example: .

Add the following before the image tag:

Add after the image tag:

So the complete tag in this example would read:

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Joshua Laud started writing professionally in 2008. During his three years at University he worked freelance for various music publications including "Clash Magazine" and "total:spec," and online Data Transmission and Music is Art. Laud also specializes in technology writing. He has a Bachelor of Arts in English literature from the University of London.