PDA

View Full Version : A simple question


Silver Pearl
June 23rd, 2005, 11:38 PM
does anyone have the code that when you click on a picture its really a link?

Trikip
June 23rd, 2005, 11:45 PM
<a href="URL"><img src="IMAGE URL"></a>

Yameneko549
June 23rd, 2005, 11:49 PM
don't forget to put "</a>" after the IMG tag.

Trikip
June 23rd, 2005, 11:54 PM
Oh, yeah. Thanks for reminding me. *edits*

Chiru
June 24th, 2005, 12:28 AM
...and if you don't want a blue border to be around the image, put 'border="0"' in the IMG tag.

Example: <a href=""><img src="" border="0"></a>

pokejungle
June 24th, 2005, 01:14 AM
And remember, normall you'd put text somewhere between <a href="URL"><img src="IMG URL"> and </a> but don't ^^;

and if you add alt="TEXT" it will show text if the IMG URL doesn't work, which can be helpful ...

so:

<a href="URL"><img src="IMG URL" alt="TEXT"></a>

Silver Pearl
June 24th, 2005, 01:35 AM
k, thanks you guys. i think a moderator can close this now.

pokejungle
June 24th, 2005, 01:58 AM
You're welcome ^^

*IMs Morkula* XP

Morkula
June 24th, 2005, 02:01 AM
Must be those strange invisible IMs, Paul. :P
*LOCKED*