Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <form action="http://www.w3schools.com/tags/demo_form.asp" 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"> <p><b>Note:</b> The form attribute is not supported in IE.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_form by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:43 GMT --> </html>
Result:
Try it Yourself - © w3schools.com