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

Code Example 1

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

Code Example 2

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

Code Example 3

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

Code Example 4

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

Code Example 5

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

Code Example 6

<!DOCTYPE html>
<html>
   <head>
      <title>Title of the document</title>
   </head>
   <body>
      <form>
         <input type="button" onclick="window.location.href = 'https://www.w3docs.com';" value="w3docs"/>
      </form>
   </body>
</html>

Learn ReactJs, React Native from akashmittal.com