Sunday, 15 March 2015

HTML Input Types

Input Type: text

<input type="text"> defines a one-line input field for text input:

Input Type: password

<input type="password"> defines a password field:

Input Type: submit

<input type="submit"> defines a button for submitting form input to a form-handler.
The form-handler is typically a server page with a script for processing input data.
The form-handler is specified in the form's action attribute:

Input Type: radio

<input type="radio"> defines a radio button.
Radio buttons let a user select ONLY ONE of a limited number of choices:

Input Type: checkbox

<input type="checkbox"> defines a checkbox.
Checkboxes let a user select ZERO or MORE options of a limited number of choices

Input Type: button

<input type="button"> defines a button:




No comments:

Post a Comment