name before input html
snippet in html

name before input html

user6738


  
    <form 
    action="/action_page.php"
    method="get" name="myForm">

  <label for="fname">First name:</label>
  <input type="text" id="fname" 
    name="fname"><br><br>
  <label for="lname">Last name:</label>
  
    <input type="text" id="lname" name="lname"><br><br>
  <input 
    type="button" onclick="formSubmit()" value="Send form data!">

    </form>