HTML button link

HTML button link code.

HTML button link

Without javascript:

<form action="../html-link.htm">
    <input type="submit" value="This is a button link">
</form>

With javascript:

<input type="button" value="This is button link" onclick="window.location.href='../html-link.htm'">

 


See also

Write how to improve this page