assignment six
create an HTML form
objective: Write, test, and publish a well-styled, semantic HTML page that includes a form.
requirements:
- Include inputs for a first name, a last name and a student number. The names/IDs for these three fields must be
firstname
,lastname
, andstudentnumber
respectively. - Include an input for the user's name prefix. Use the form name
prefix
for this data. The user must choose only one from this group of options: Mr, Mrs, Ms, Dr, or N/A. - Give the user a way to specify which, if any, part-time BCIT classes they are considering registering for. They are not required to choose any courses, and they are permitted to choose several courses at once. This field must be named
courses
. Options should include COMP1409, COMP1630, COMP1850, COMP2132, COMP2913 and COMP3015. - Include an area for the user to add a comment. Name this field
comments
. - The form
method
must bepost
. - The form
action
must beassignment06.php
(Note: This is not a real script). - All form elements should include labels (or placeholders) and have appropriate ids and names.
- Attention should be paid to proper styling using CSS and ensuring that the site works well at various viewport sizes.
- Use an external CSS file to style the page so that the form adheres to best practices in design (alignment, proximity, colour, contrast, etc.). You must demonstrate a clear effort towards making a visually appealing form.
- All content must be marked up semantically to convey the meaning and relationships of the data.
- Publish the completed page to your web space.
Check your work using the online HTML Validator.
Email the URL of your finished assignment to your instructor.
Exercise is due before the start of the next session. Your instructor will not hunt you down to hand this in - no email sent to your instructor equals zero marks.
assigned: session 10
due: session 11
weight: 5% of final grade