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

Code Example 1

<form action="/action_page.php">
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname" value="John"><br>
  <label for="lname">Last name:</label><br>
  <input type="text" id="lname" name="lname" value="Doe"><br><br>
  <input type="submit" value="Submit">
</form>

Code Example 2

<input type="submit">

Code Example 3

<input type="submit" value="Submit">

Code Example 4

<html>
<form action= "your site" method = "post/get">
  </form>
</html>

Code Example 5

<button type="submit" form="form1" value="Submit">Submit</button>

Code Example 6

<!-- put this line of code inside of your input -->
 onchange="this.form.submit()

<!-- EXAMPLE -->

      <input type="checkbox" onchange="this.form.submit()">

Learn ReactJs, React Native from akashmittal.com