Assignment 14 — Working with Forms
Description: | The assignment for this week introduces forms. Forms allow websites to become interactive. To create a form, you will use a <form> element. The <form> element contains other form-related elements (such as <select>, <option>, <input> and <textarea)> that define the interactive elements within the form. When you create a form, you will specify the URL address of the script on the server that will process the form, as well as the type of HTTP method (get or post) that you will use to process the information. <form id="cakeform" action="http://www.vickeylynne.com/processorder.php" method="post"> Generally, you use post when you are posting information to a web site and get when retrieving information from a website. This course does not cover the back-end processing script for the forms - only the HTML elements required to create a form within your web page. The following table lists some of the elements that you can embed within a <form> element.
You can embed other HTML elements within the <form> element to define the layout of your form. You can also use CSS rules to define the look of your form elements. For more information about how forms work, see Chapter 14 of the Head First HTML and CSS book. |
||||||||||||||||||||||||||||||
HTML elements: |
|
||||||||||||||||||||||||||||||
Videos: | Working with Forms | ||||||||||||||||||||||||||||||
Tasks: |
|
||||||||||||||||||||||||||||||
Grading criteria: | Your assignment should demonstrate:
|
||||||||||||||||||||||||||||||
Due: | Due 12/11 | ||||||||||||||||||||||||||||||
Example assignment: |