Jump to content

Input Link


Norman

Recommended Posts

I want to make an imput with a link. For example: [Go back to the Home]. With Firefox I can do that with this code:

 <a href="home.html"><form><input type="button" style="font-size: 9px; font-weight: bold" align="middle" value="Go back to the Home" /></form></a>

Even if it does not work very well. With IE it doesn't work!Is there another valid method you know?

Link to comment
Share on other sites

This uses Javascript. I recommend putting a <noscript> tag in case Javascript is deactivated:

<input type="button" style="font-size: 9px; font-weight: bold" value="Go back to the Home" onclick="location.href = 'home.html'" /><noscript><a href="home.html">Go back to the Home</a></noscript>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...