Download presentation
Presentation is loading. Please wait.
Published byGeorge Merritt Modified over 9 years ago
1
HTML Form Teppo Räisänen LIIKE/OAMK 2011
2
Basic Structure of a HTML Form The element defining a form is ’form’ Form’s most important attributes are The processing script (action) Way of transmitting the information (method) The available transmitting methods are ’get’ ja ’post’
3
Basic Structure of a HTML Form A form is one of the block elements, so it can include other block and inline elements Tables Paragraphs… The most primitive form would include a single form field and instructions of use for the field
4
Types of Form Fields For input input textarea select The type attribute is used for more accurate specification The browsers will generate the forms UI using the information about input types
5
Types of Form Fields Submit Reset Hidden Text Password Textarea File
6
Types of Form Fields Select Radio Checkbox
7
Labels for Form fields Information of how to use form fields must be provided for the user For the information one can use a label element or just simply text inside form For formatting the final UI a table layout or div elements can be used
8
Web Forms HTML forms look lot like printed out forms The processing of a HTML form is completed by a computer Form element is used as an interface between the processing side and the user
9
Web Forms There are form fields included inside the form for different pieces and types of information An address of the processing script is written as a part of form element’s declaration Scripts are small scaled computer programs
10
Web Forms
11
Web Forms The script for processing can reside in any available server After submitting the form, the information inside the form is sent for processing The form data is often ’raw data’ not meant to be analyzed by human resources
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.