Forum Moderators: open

Message Too Old, No Replies

i've 2 methods for clickable image so

which is better to use?

         

smagdy

8:47 am on Jun 5, 2005 (gmt 0)

10+ Year Member



Which is better or loads faster?

I want to make an image clickable and direct to an addresse, so

<form action="go.php" method="post" name="f"> <td><input type="image" src="pic.jpg"></td>
</form>

OR

<td><a href="go.php"><img src="pic.jpg"></a></td>

both do the same, so which is better to use?

Thanks in advance

Span

9:15 am on Jun 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd say your second method is better. Less code and the links can be followed by bots too.
Don't forget to use alt text in the image.

smagdy

10:32 am on Jun 5, 2005 (gmt 0)

10+ Year Member



Thanks