HTML Forms


Forms are a pretty important aspect in HTML because you are going to be placing forms in your site, to collect information from your site visitors.

 

Using forms to collect details from site visitors will bring in important details like the number of visitors your site received and it is also a better way of information capture as it reduces the problem spam mail as is seen when you mention an email id in your site.

 

You can use forms to input details such as the name and email address of the sit visitor, their enquiries and so on. Such information will be input into text fields, drop-down lists, check boxes or text areas placed in your form. Each of these input elements requires a certain coding for it’s to be displayed on screen and for it to work according to the expected functionality. These codes are placed into the tag called the Form Tag. Once all the information is input, the user will click a submit button in the form to submit this information to your site’s server database.

 

Using HTML Form helps to capture inputs from site visitors with minimal time and the data collected is useful for your business sales or customers relation activities.

 

 

Input Tools –

 

Inputting details into HTML forms is done through input elements. Following is a list of some basic input elements:

 

§         Text

§         Checkboxes

§         Radio Buttons

§         Submit Button

§         Reset Button

 

 

When you want to use any of the above input elements you need to specify the following, inside your HTML body’s Form Tag:

 

<input type="text" />

<input type="radio" />

<input type="submit" />

<input type="reset" />

<input type="checkbox" />