I have built a large from and I have just discoverd my <button></buttom> does not work as a link

I am using
HTML Code:
<button onclick="window.location.href='myurl'">Next</button>
, but it is not working

Help.