How to Add a Link to a Picture
- 1). Upload pictures to your website. You can do this by following the instructions provided by your web host or by using website design software. Once you position your pictures, you will be able to add the HTML code needed to create a link.
- 2). Open the HTML editor program you used to create your website. Click 'HTML edit' to make changes. Insert the following code:<a href="/links/?u=page2><img src="image.jpg"></a> Page 2 - this is where you substitute the webpage on your site that you want to link the picture to. image.jpg - is the file name of the pictureClick 'OK' to upload the code.
- 3). Go to your website to make sure the link is active. Depending on the type of web hosting you use, you may need to use another type of code to create the link.
- 4). If using a program like Dreamweaver to create your website, research how to add links to pictures as you may not need to alter the code. Website design programs were created for those who don't know much about HTML and other types of computer code.
- 5). Check the links on your website to make sure they are still active. Links that are inactive will annoy those browsing your website and may cause them to leave without seeing everything you have to offer on the site.