Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/web-form/
- Creating a Web Form
- Introduction
- You can enhance your pages with HTML forms (along with a little help from a web server) so that your pages can gather customer
- feedback, take an online order, get the next move in an online game, or collect the votes in a “hot or not” contest. Now you’re going to
- meet a whole team of HTML elements that work together to create web forms. You’ll also learn a bit about what goes on behind the
- scenes in the server to support forms, and we’ll even talk about keeping those forms stylish.
- If you use the Web at all, then you know what a form is. But you might not have really thought about what they have to do with
- HTML. A form is basically a web page with input fields that allows you to enter information. When the form is submitted, that
- information is packaged up and sent off to a web server to be processed by a server script. When the processing is done, what do you
- get? Another web page, of course, as a response, or in our case, you will an email showing the form contents in the subject area.
- To a browser, a form is just a bit of HTML in a page. You can easily create forms in your pages by adding a few new elements. Here’s
- how a form works from the browser’s perspective:
- The browser loads the page
- ? The browser loads the HTML for a page like it always does, and when it encounters form elements, it creates controls on the page that allow you to input
- various kinds of data. A control is just something like a button or a text input box or a drop-down menu—basically something that allows you to input data.
- You enter data
- ? You use the controls to enter data. Depending on the type of control, this happens in different ways. You can type a single line of text into a text control, or you
- might click one option of many in a checkbox control.
- Download: http://solutionzip.com/downloads/web-form/
Add Comment
Please, Sign In to add comment