P pcbres12 Baseband Member Messages 34 Nov 2, 2008 #1 How do I embed a link into a picture? As in like you hover over the pic and it comes up with the little hand and you click it and takes you to the website of the picture? I am awhere of the <IMG SRC.=... > code and I am using that. PS: This is in HTML.
How do I embed a link into a picture? As in like you hover over the pic and it comes up with the little hand and you click it and takes you to the website of the picture? I am awhere of the <IMG SRC.=... > code and I am using that. PS: This is in HTML.
Baez Admin / Dev Staff member Messages 6,990 Location Toronto, Canada Nov 2, 2008 #2 I think this is what you mean. Code: <a href="http://www.google.com"> <img src="google.jpg" alt="Google" /> </a>
I think this is what you mean. Code: <a href="http://www.google.com"> <img src="google.jpg" alt="Google" /> </a>
CrazeD Fully Optimized Messages 3,736 Location Maine Nov 2, 2008 #3 cvb724 said: I think this is what you mean. Code: <a href="http://www.google.com"> <img src="google.jpg" alt="Google" /> </a> Click to expand... Almost... you need to add the title attribute to the anchor. Code: <a href="http://www.google.com" title="Hover text here"> <img src="google.jpg" alt="Google" /> </a>
cvb724 said: I think this is what you mean. Code: <a href="http://www.google.com"> <img src="google.jpg" alt="Google" /> </a> Click to expand... Almost... you need to add the title attribute to the anchor. Code: <a href="http://www.google.com" title="Hover text here"> <img src="google.jpg" alt="Google" /> </a>
Baez Admin / Dev Staff member Messages 6,990 Location Toronto, Canada Nov 2, 2008 #4 The alt tag gives the hover text of the pic too. You don't need to title unless you want the name of the link and not the picture.
The alt tag gives the hover text of the pic too. You don't need to title unless you want the name of the link and not the picture.