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">

Code Example 2

<input type="submit">

Code Example 3

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

Code Example 4

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

Code Example 5

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

Code Example 6

<!-- put this line of code inside of your input -->

<!-- EXAMPLE -->

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

Learn ReactJs, React Native from