In the last article we learned:
- HTML <form> element
- HTML <input> element
- Text Input
- Radio button input
- Submit button
Let's start today with remaining <input> elements...
Input Type Reset
<input type="reset"> defines a reset button. It will rest all form values to provided default values. Default value can be provided with value attribute in each input element.
Input Type Password
<input type="password"> defines a password field.Input Type Checkbox
This defines checkbox in HTML. Checkboxes let a user select none or more than one options of a limited number of choices.
Input Type Color
The <input type="color"> is used for input fields that contain a color. Color picker will be different for different operating systems and browser.
Input Type Date
The <input type="date"> is used for date input. Date picker will also different interface for different operating systems.
Input Type Email
The <input type="email"> is used for email address input and it will check if entered email is of valid format.
That's all for today. In the next part, we will study some more input fields and will also see some more elements in HTML form. Till then #keepCoding.
Comments
Post a Comment