Tag Archive for button

create an HTML button that acts like a Link

xhtml2_logo-512

This is quiet simple

Put it in a <form> wherein you specify the desired target URL in the action attribute.

<form action="http://google.com">
    <input type="submit" value="Go to Google">
</form>

 

here is another veriation but didn’t test it yet..

<a href="http://www.ajayadas.com/">
    <button>click me</button>
</a>