<html>
<body>
<h2>The name Attribute</h2>
<form action="https://www.w3schools.com/action_page.php">
First name:<br>
<input type="text" value="Mickey">
<br>
Last name:<br>
<input type="text" name="lastname" value="Mouse">
<br><br>
<input type="submit" value="Submit">
</form>
<p>If you click the "Submit" button, the form-data will be sent to a page called "/action_page.php".</p>
<p>Notice that the value of the "First name" field will not be submitted, because the input element does not have a name attribute.</p>
</body>
<!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_form_submit_id by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:25:16 GMT -->
</html>