xHTML Forms

Web Design with Forms

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

The server tracks users 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 Attributes

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

Multiple / Select Options Text Box
*Passwords Textarea
Radio Buttons *Checkboxes
Menu List *See Text Message
Hidden: <input type="hidden" value="email@server.com">
Doris Cuffey, Instructor