Check out example codes for "html button link". It will help you in understanding the concepts better.

Code Example 1

  onclick="document.location='default.asp'">HTML Tutorial</button>

Code Example 2

<a href="" class="btn btn-primary">Go to Google</a>

Code Example 3

<button><a href='' alt='Broken Link'>This is a button</a></button>

Code Example 4

<form action="">
    <input type="submit" value="Go to Google" />

Code Example 5

<button onclick="window.location.href='/page2'">Continue</button>

Code Example 6

<!DOCTYPE html>
      <title>Title of the document</title>
         <input type="button" onclick="window.location.href = '';" value="w3docs"/>

Learn ReactJs, React Native from