Edit This Code:
See Result »
First name:
Last name:
Click the "Try it" button to display the value of the element with name="fname" in the form.
Try it
Result: