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

Code Example 1

<button type="button" onclick="alert('You pressed the button!')">Click me!</button>

Code Example 2

<html>
  <head>
        <style>
          .button {
 			background-color: <background color>;
  			border: none;
 			color: <text color>;
  			padding: 10px 25px;
  			text-align: center;
 			text-decoration: none;
  			display: inline-block;
  			font-size: 16px;
  			margin: 4px 4px;
  			cursor: pointer;
  			border-radius: 8px;
			}
  		</style>
	</head>
	<body>
      <a href="<url>" class="button">ButtonText</a>
 	</body>
</html>

Code Example 3

<button>I'm a button</button>

Code Example 4

<html>
 <head>
 <title>Submit Button</title>
 </head>
 <body>
   <form> <!-- Create a form -->
     
    <div> <!-- Add Label if want -->
     <label for="firstName">First Name:</label>
     <input type="text" name="firstName" id="firstName">
    </div> <!-- You can just add a button but this is convenient -->
    <div>
     <label for="lastName">Last Name:</label>
     <input type="text" name="lastName" id="lastName">
    </div>
     <!-- This button will submit the form fields to a server -->
    <button type="submit">Submit Full Name</button>
     <!-- Or you could reset all fields in form -->
    <button type="reset">Reset Full Name</button>
     <!-- Or create a button for specific purposes -->
    <button type="button">Do Nothing</button>
     <!-- Can add "onclick" from Talented Tarantula or some code -->
     
   </form>
 </body>
</html>

Learn ReactJs, React Native from akashmittal.com