How do you make a link into a clickable picture?

How can I make a picture clickable to another link?

  • What is the html code to make a picture on your website when clicked, redirect you to another link? Thanks in advance :) Also, it doesn't have to be a jpg. It could be a picture from photobucket that you want to put as an html code onto your website, and when clicked, it redirects you to another website of your choosing. If you know both, then the answers are highly appreciated :) Thanks

  • Answer:

    Making an Image a Link: <p><a href="URL path to external link" title="Mouseover Description"><img style="width: XXpx; height: YYpx; border: 0;" src="Path to image" alt="Text Description"></a></p> If site does not host images, then you MUST host your image online at any good image hosting site. The "src" image URL MUST be the DIRECT link to the image alone and not to the page the image is on. Put the DIRECT URL to ONLY the image in the src="" attribute. Put the correct link for the site in the href="" attribute. You can change the "p" tags to div tags and style as needed. Practice Your Link Code Online: http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_imglink Practice HTML Code (HTML - Tryit Editor v1.4): http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro Ron

slipt at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

<a href="link"><img src="picture"></a>

PRAVEEN Shandilya

you mean on a web site?? else if you use the standard website making program "frontpage" you just click "Ctrl+k" and then set in the Html code "link" and click ok.

sandknowhow

<a href="link"><img src="picture"></a>

Toby

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.