# HTML Input Types
● The Input Type Text
<input type="text"> defines a one-line text input field.
● Input Type Password
<input type="password"> defines a password field.
● Input Type Submit
<input type="submit"> defines a button for submitting form data to a form-handler.
The form-handler is typically a server page with a script for processing input data.
This is specified in the form's action attribute.
If, Omitting the submit button's value attribute, the button will get a default text "submit".
The form-handler is typically a server page with a script for processing input data.
This is specified in the form's action attribute.
If, Omitting the submit button's value attribute, the button will get a default text "submit".
● Input Type Reset
<input type="reset"> defines a reset button that will reset all form values to their default values.
● Input Type Radio
<input type="radio"> defines a radio button.
Radio buttons let a user select ONLY ONE of a limited number of choices.
Radio buttons let a user select ONLY ONE of a limited number of choices.
● Input Type Checkbox
<input type="checkbox"> defines a checkbox. It let a user select Zero or More options of a limited number of choice.
● Input Type Button
<input type="button"> defines a button.
● Input Type Color
<input type="color"> is used for input fields that should contain a color.
Depending on browser support, a color picker can show up in the input field.
Depending on browser support, a color picker can show up in the input field.
● Input Type Date
<input type="date"> is used for input fields that should contain a date.
Depending on browser support, a date picker can show up in the input field.
Depending on browser support, a date picker can show up in the input field.
● Input Restrictions
https://www.w3schools.com/html/html_form_input_types.asp |
No comments:
Post a Comment