A form can contain any number of input elements : Introduction : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » Introduction »

 

A form can contain any number of input elements








is the main HTML input element.

The type attribute of determines what type of input control is displayed:



  1. is a single-line text box.


  2. is a radio button.


  3. is a check box.


  4. is a file upload text box.


  5. is a password text box (where characters are not displayed as you type).


  6. is a generic button that can be used to cause a custom action.


  7. is a button whose sole purpose is to submit the form.


  8. is a button whose sole purpose is to reset all fields in the form to their default values


  9. is an input field that isn't displayed on screen.


  10. is an image that is used just like a Submit button.


  11. renders either a combo box or a list box composed of values defined by elements


  12. renders a multiline text box in a size determined by the rows and cols attributes.





HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» Introduction