HTML Web Forms

Working with HTML Web Forms

Forms and Functions Objectives

Forms are designed to obtain information for web-based communications. Users can fill in a form and submit it to the server for processing.The elements are text boxes, radio and check box and selection list.

sign guest books pay bills sell or order products
complete surveys track users Create quiz Canine Shop

The server will track the user from page to page using HTTP protocol.
Forms server-side processing requires a server-based language such as Perl (CGI) or form-handling technologies on servers as ASP (Microsoft Internet Information Server), JSP (Java-based servers) or PHP (Apache servers) because JavaScript is client-based, its processing is limited.

XHTML Form Components

The form element with 3 attributes- name, method, action-; form input types- text, check box, radio, button and the SUBMIT or RESET/CLEAR buttons.

XHTML Form Elements

The FORM Object this and return
Multiple / Select Options Text Box
*Passwords Textarea
Radio Buttons *Checkboxes
Menu List *See Text Message

HTML Buttons Submit and Reset

XHTML Forms Summary

Doris Cuffey, Instructor