About insert link in to images ???

HTML, PHP, JavaScript...ask your questions or post your tips here!
Locked
btgvnws
Posts: 63
Joined: Thu Feb 22, 2007 3:18 pm
Contact:

About insert link in to images ???

Post by btgvnws » Wed Sep 09, 2009 12:41 pm

Hi all !
How to insert link in to images of code HTML (not use software) ?
Thanks !

echophp
Posts: 657
Joined: Sun Feb 11, 2007 9:07 am

Re: About insert link in to images ???

Post by echophp » Thu Sep 10, 2009 6:19 am

What do you mean?

btgvnws
Posts: 63
Joined: Thu Feb 22, 2007 3:18 pm
Contact:

Re: About insert link in to images ???

Post by btgvnws » Thu Sep 10, 2009 1:26 pm

Ex: I insert www.echophp.com banner in to my site, when guest or mem click logo, link url go to echophp.com's page. I has use <a href="link"> before tag <img....> but logo show border. how to insert logo the same http://www.echophp.com/featured_clients.html

echophp
Posts: 657
Joined: Sun Feb 11, 2007 9:07 am

Re: About insert link in to images ???

Post by echophp » Fri Sep 11, 2009 10:17 am

Try to add the attribute bellow to remove the border

Code: Select all

border="0"


Hope it helps.

btgvnws
Posts: 63
Joined: Thu Feb 22, 2007 3:18 pm
Contact:

Re: About insert link in to images ???

Post by btgvnws » Sat Sep 12, 2009 2:10 pm

Ok. Thanks admin so much !

marc8358
Posts: 15
Joined: Thu Jan 07, 2010 10:09 am

Re: About insert link in to images ???

Post by marc8358 » Fri Mar 26, 2010 5:22 am

Sorry,As a new programmer i can not say how to insert link to an images.

hernandez9039
Posts: 3
Joined: Fri Feb 12, 2010 12:29 pm

Re: About insert link in to images ???

Post by hernandez9039 » Mon Apr 05, 2010 2:32 pm

Really wonderful explanation! You've explained the topic superb. Thank you very much for sharing.

henderson791
Posts: 5
Joined: Mon Mar 22, 2010 4:10 am

Re: About insert link in to images ???

Post by henderson791 » Tue Apr 27, 2010 10:27 am

Fantastic!!! thanks a lot

sshayndell12
Posts: 9
Joined: Sat Apr 17, 2010 2:29 am

Re: About insert link in to images ???

Post by sshayndell12 » Fri May 28, 2010 3:27 pm

Well, that's good, but what's with the border around the image? Well, the border just seems to be added by default on most browsers. To get rid of it, add this command to the image tag:

border="0"

Here is an example:

<a href="http://www.newbusinessdirection.co.uk/">
<img src="next.jpg" border="0">
</a>

dillan598
Posts: 3
Joined: Mon Jun 21, 2010 12:06 pm

Re: About insert link in to images ???

Post by dillan598 » Wed Jun 23, 2010 11:28 am

<HTML>
<HEAD>
<TITLE>this is just a test</TITLE>
</HEAD>
<BODY>
<a href="whateverpage.htm"><img src="picturelink.gif" alt="hello" /></a>
</BODY>
</HTML>

williams8899
Posts: 1
Joined: Sat Jul 10, 2010 2:33 pm

Re: About insert link in to images ???

Post by williams8899 » Thu Jul 15, 2010 4:23 pm

This way you can insert link in to images.
<HTML>
<HEAD>
<TITLE>this is just a test</TITLE>
</HEAD>
<BODY>
<a href="whateverpage.htm"><img src="picturelink.gif" alt="hello" /></a>
</BODY>
</HTML>

Locked