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

Code Example 1

<!-- if you are on Window : --> 
<button onclick="window.location.href='page2.html'">
  Button
</button>

<!-- if you are on linux or macOS : -->
<button onclick="location.href='page2.html'">
  Button
</button>

Code Example 2

<a href="https://www.google.com">
  <button>Go to Google</button>
</a>

Code Example 3

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

Code Example 4

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

Code Example 5

<a href="https://google.com" class="btn btn-primary">Go to Google</a>

Code Example 6

<button><a href='https://google.com' alt='Broken Link'>This is a button</a></button>

Learn ReactJs, React Native from akashmittal.com