How to use HTML Form Elements

HTML Form Elements

An HTML form elements is a section of a document which contains controls such as text fields, password fields, checkboxes, radio buttons, submit button, menus etc. An HTML form facilitates the user to enter data that is to be sent to the server for processing such as name, email address, password, phone number, etc.

There are several important Form elements which provide extra feature and helps in enhancing the net output.

<SELECT> element

This tag defines a drop down list.

Example:

[html]

 

[/html]
Pre-selecting an option so that it can be a default value

Example:

[html]

 

 

[/html]


Text area

This is to provide a paragraph space!!

Example:

[html]

 

 

[/html]

Related Article

Leave a Comment