<form action="action_page.php" id="form1">First name: <input type="text" name="fname"><br><input type="submit" value="Submit"></form>
<p>The "Last name" field below is outside the form element, but still part of the form.</p>Last name: <input type="text" name="lname" form="form1">
<form action="action_page.php" id="Myform">First name: <input type="text" name="FirstName"><br><input type="submit" value="Submit"></form>
<p>The "Last name" field below is outside the form element, but still part of the form.</p>Last name: <input type="text" name="LastName" form="Myform">