Creating forms in HTML

Forms
in websites are used to get input from the users. A form consists of
different controls like buttons, textboxes, radio buttons, and check
boxes etc. /font>form> and /font>/form> tags are used to create a form in the webpage.

Attributes

name –. it is used to identify the form.

method – it is used to specify the method for sending data in the form. Two options are get and post. The get method sends the contents of the form as part of the URL. The post method sends the contents of the form as a separate bit-stream of data.

action – it is used to specify the URL that will process data in the form.

The elements are added to a form by using /font>input type=””> tag. Different elements of a form are as follows:

text – it is used to display a text field in a form. /font>input type="text">

password – it is used to display a text field for entering password. The input is replaced by asterisk. /font>input type="password">

button – it is used to display a button in the form. /font>input type="button">

checkbox – it is used to display a checkbox in a form. /font>input type="checkbox">

radio – it is used to display a radio button in a form. /font>input type="radio">

reset – it is used to display a reset button in a form. This button clears the contents of form. /font>input type="reset">

submit – it is used to display a submit button in the form. This button is used to process the contents of the form. /font>input type="submit">

Top Content Today

/*/ We are user-generated contents site. All product, videos, pictures & others contents on vudesk.net don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at admin@vudesk.net at contact Page with copyright detail & We will happy to remove it immediately.