Finding HTML Elements Using document.forms
First name:
Last name:
Click "Try it" to display the value of each element in the form.
Try it