Button Links

JavaScript FAQ | Navigation Enhancements  

Question: Can I make a button on my page work as a hyperlink to another page?

Answer: To create a button that works as a
you can use this code:
<input type=button 
value="insert button text here"
Just change the button text and the target URL to whatever you want. Try it now:

You can use absolute URLs (like

) as well as relative URLs (like

Copyright © 1996-2018, JavascriptFAQ.net.