Monday, April 11, 2016

Form Input Types

There are different input types that can be used when creating forms with input fields. Today I will only discuss a select few because not all are supported by every browser.

The different types are:
  • text boxes
  • text areas
  • checkboxes
  • radio buttons
  • submit button


The text boxes are for input types that handle text in only one line. The user can input letters, numbers, and other characters in this field.

The text areas are for input types that handle text in multiple lines. This type is not that different from a text box; the small differences being the multiple line and word wrap ability.

Checkboxes are for selections of more than one. The selections usually have a small, square box that the user can select, and some type of marking will show up as the user clicks on it. The developer can choose to have boxes already checked.

Radio buttons are for selections of only one. These selections usually have small, round circles that the user can select, and the circle will be filled as the user chooses it. The developer can also choose to have a button already filled in. An example of radio buttons in use can be seen with my poll on the right sidebar.

The submit button is for submitting the form. The developer can change the appearance of the button with a picture, or the developer can change the text that the button displays.

This was only a brief overview of these concepts, but I hoped it helped you in some way.


Source: http://www.w3schools.com/html/html_form_input_types.asp

1 comment:

  1. Thank you for the explanation. Come check out my blog: http://vfuhrmann.blogspot.com/

    ReplyDelete