HTML forms

HTML forms allow communication with the user.
Create form fields and buttons is like creating any other part of the website. We can create text boxes, field for entering a password, switches, check boxes, and also pictures which you click the mouse. We assign to each element name, serve will as names for identification data in at the time of processing. HTML forms can record the information in a database on server, send e-mail and other applications.

Forms are created by placing input fields within paragraphs, preformatted text, lists and tables. This gives considerable flexibility in designing the layout of forms.

There are two basic parts of the form:
1) set fields , names and buttons,which the user sees on the screen and fills.
2) script processing the collected data and them convert to a format that can be read.


Form - tags
form closes the control group fields into a single form, which will be sent at once; tag pair
input input field can contain different attributes
text input field for typing text
button Various settings ...

The form data still needs to be processed.

Forms Processing

The client-side and the server-side.
The client-side is the actual form that a visitor sees on your Web page.
The server-side is a little more complicated, mainly because you have so many options for form processing.

Security

As always, when you send information to servers, must be very careful for security. Your first line of defense lies in the Form command structure. You want to limit the amount of data that can be entered into one field, since you do not want someone sent SPAM messages into your Script.

JavaScript

Script language works on the client side. It works directly inside the browser. It can perform many tasks without communication with server. It is a good tool for manipulating the browser window,as the control of the fact that everything is correct before submitting completed, and many other tasks, which are carried outside server (or before communication with server ).

Scripts

Scripts are small programs allow greater interactivity site. Simple scripts can create warning dialog, or upload the text for the pages, because the scripts are excellent for moving elements on the page, creates underlying dynamic HTML, also known as DHTML.