An HTML form is a web form that relies on HTML
You must have seen HTML forms many a times. Most websites use it. HTML forms to collect the information of the customer that will be used later to inform then about new products, for taking orders which include name, address etc., they are useful for every type and every website.
A HTML form is not different from the actual forms that are available around us for various purposes, like admission, inquiry, employment, questionnaire or load etc. It generally contains information like your name, address, date of birth, Email id and other information depending on the purpose for which the form will be used.
So then why HTML? Well, to begin with, HTML is a basic programming language which is used extensively to design the web pages. It is simple and easy and above all incorporates other languages (like scripting ones) that make your static web pages dynamic and interactive along with an attractive outlook.
HTML form includes a variety of fields that may be required by any kind of website for any purpose. It offers awesome enhancement and provide a medium for interaction between the client and the website owner. It can be used to add comments, provide feedback, registration, user ids and passwords, queries, joining the website or polls etc.
The coding of the form can be customized in case you want to limit the length of any information entered or what data type has to be used to enter the piece of information. The form can use any type of font and its color; can be made attractive by adding background colors or to match the theme of your website. It also allows you to choose what information is important and required by you for the purpose the form is being used.
The HTML form allows you to add text area (of any length that can be limited too), checkboxes to mark multiple options, radio buttons to select one out of many, password to apply one, file upload option, drop-down menus (for anything that has multiple possible value and one to be chosen), reset to restore the default values and submit to send the information.
Using a suitable scripting language, you can create multiple page HTML form (mostly used by banks, colleges, immigration offices etc), or customize the form in a way that it denotes the name of the visitor at the time of submission. You can add print option in your form so that the user can take a print if he wants to or if it is required. You can (and most of the time you do) link it to a database for collecting all the information received so that it can be retrieved as and when required.