HTML-painikkeen linkkikoodi.
Ilman javascriptiä:
<form action="../html-link.htm"/
<input type="submit" value="This is
a button link"/
</form/
Javascriptilla:
<input type="button" value="This is button link" onclick="window.location.href='../html-link.htm'"/