. Quick, Simple and Easy HTML Form a. Prepare to code the HTML for the form area. Begin with a form element that uses the post method and the action attribute to invoke server-side processing. Unless directed otherwise by your instructor, configure the action attribute to send the form data to http://webdevbasics.net/scripts/pacific.php.
1. Quick, Simple and Easy HTML Form
a. Prepare to code the HTML for the form area. Begin with a form element that uses the post method and the action attribute to invoke server-side processing. Unless directed otherwise by your instructor, configure the action attribute to send the form data to http://webdevbasics.net/scripts/pacific.php.
b. Configure the form control for the First Name information. Create a label element that contains the text “First Name:”. Create a text box named myFName. Use the for attribute to associate the label element with the form control.
c. Configure the form control for the Last Name information. Create a label element that contains the text “Last Name:”. Create a text box named myLName. Use the for attribute to associate the label element with the form control.
d. Configure the form control for the E-mail information. Create a label element that contains the text “E-mail:”. Create a text box named myEmail. Use the for attribute to associate the label element with the form control.
e. Configure the form control for the Phone information. Create a label element that contains the text “Phone:”. Create a text box named myPhone. Use the for attribute to associate the label element with the form control.
f. Configure the Comments area on the form. Create a label element that contains the text “Comments:”. Create a textarea element named myComments with rows set to 2 and cols set to 20. Use the for attribute to associate the label element with the form control.
g. Configure the submit button on the form. Configure “Submit” to display on the button. Assign the input element to the id named mySubmit.
h. Code an ending tag on a blank line after the submit button.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps