html_forms
html_forms
HTML FORMS
Learning Outcomes
HTML Forms
HTML Forms are a common and important part of the web.
Registration / login systems
Search facilities
HTML can be used to build forms.
Define the text boxes, buttons, checkbox, radio buttons, etc.
HTML has no power to process the data entered into a Form.
The browser passes the data to scripts on the web server.
e.g. PHP, ASP.NET, Ruby
The Structure of Forms
Form controls are the elements like the text boxes and
buttons used to gather data from the user.
Most form controls are created using the <input/>
element.
The type attribute is used to specify the type of control.
The name and id attribute is used by the script that
receives the data.
Syntax :
Form Controls
Form Controls – Text Fields