Jump to content
xisto Community
iGuest

I Need Help With This Code

Recommended Posts

could some one help with this code. I have been working on this for the past hour trying to get it to work. this is the first time i have had problem with writing html code.the code i need help with is

<a href="http://http://110mb.com/404.php; target="_blank"><input type="image" height="27" width="139" src="http://http://110mb.com/404.php; /></a>

for some reason on my page it want work at all it want even open it the same page.What i'm trying to do with the code is a page in a new window using an image as a link.

Edited by truefusion (see edit history)

Share this post


Link to post
Share on other sites

I am not sure why you have made the image an input? I'm not even sure that is valid. Anyway, the proper way to make an image appear is like so:

<img src="path/to/image/file.png" width="##" height="##" alt="Text if the image can't be displayed" />

So, this would make your code become:

<a href="http://www.110mb.com/404.php; target="_blank"><img src="http://www.110mb.com/404.php; height="27" width="139" alt="Alt text needed here" /></a>

Let us know if that works, and if that is what you are looking for.

Share this post


Link to post
Share on other sites

I am not sure why you have made the image an input? I'm not even sure that is valid. Anyway, the proper way to make an image appear is like so:

<img src="path/to/image/file.png" width="##" height="##" alt="Text if the image can't be displayed" />



So, this would make your code become:

<a href="http://http://www.110mb.com/404.php; target="_blank"><img src="http://http://www.110mb.com/404.php; height="27" width="139" alt="Alt text needed here" /></a>



Let us know if that works, and if that is what you are looking for.


Thanks it worked. And that was just what i was looking for. I dont know why i could not figure that one out. Any ways thanks for the help.


--------------------
Dark Zero
http://www.110mb.com/404.php
Edited by Dark Zero (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.