Copyrights : Layout Galaxy All Rights Reserved No part of this tutorial may be reproduced, stored
in a retrieval system or transmitted in any form or by any means, electronic,
electrostatic, magnetic tape, mechanical or otherwise, without prior permission
in writing from Layout Galaxy.
Developing HTML Forms
> Anatomy of a Form
Developing HTML FORMS
Anatomy of a FORM
Simple Form Layout
The INPUT Elements
The BUTTON Element
The SELECT and OPTION Elements
The TEXTAREA Element
The Label Element
The FIELDSET and Legend Elements
Tab Navigation
Access Keys
Anatomy of a FORM
Forms enable visitors to your site to give
input, which can be used for a variety of purposes. The Form
element contains several other elements, called controls that
have a variety of methods for gathering information. When
a Form is completed and submitted the information in its active
controls is passed to a program that takes whatever action
the Form has been designed to perform. Depending on the Form
and its use, the client-side script can perform basic pre-processing
and error checking, or handle all of the processing on its own.
HTML elements are used within the FORM element
They are used to create and name the FORM controls.
HTML elements also format their appearance and behavior.
A default value for each
control is determined by the HTML elements
An attribute in the FORM
element tells the browser and the web server which program
will process the FORM application.
The browser displays the
FORM and allows a surfer to fill it out, collects the
information, and sends it to the web server.
The web server sends the
information to the indicated program.
The specific program processes
the FORM information (and usually displays a new page when it's done).
Copyrights : Layout Galaxy All Rights Reserved No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.
17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA Tel : 91-22-25795588, 91-22-25780444 Fax : 91-22-25793397 Email : ionline@vsnl.com