Question: create a web page using form elements that will submit a formatted email to me. The web page is intended to be used as a
create a web page using form elements that will submit a formatted email to me. The web page is intended to be used as a feedback form, which will send the user's comments about your site to a pre-specified email address. The script that sends the email runs on the server, and will be provided to you. Your task is to build the web page with the necessary form elements.
If you have never used form elements before, and want to go over them in a bit more there are a wide variety of support sites available on the internet with additional information. I particularly recommend you take a look at the Forms Tutorial on the HTML Goodies website as a first step.
HTML5 Page
Create a new HTML5 page with an appropriate title which includes your name. It should include all appropriate header info, including a link to your cascading style sheet, and appropriate content, including headings and instructions, asking the user for his/her feedback about your site.
It should also have a form to let the user enter his feedback and submit it. The form will be processed by a PHP script provided to you on the web server. Follow these instructions for the Form to Email Script to make sure your form will work correctly with the script that will process it.
Additional Requirements
In addition to the required fields specified in the document linked above, your form should also have:
- Visible text input elements which ask for the user's name and mailing address (street, city, state, postcode, country).
- A text area element for the user to enter his feedback.
- A radio input element that lets the user rate your site from 1 to 5.
- A submit button and reset button.
- In addition please be sure to add both HTML5 and CSS comments in your code as a best practice!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
