Input Types
<input type="">Different input types
<inpit type="text"> a single-line text input field the default
<input type="email"> An input field optimized for email input (eg showing an optimized keyboard on mobile phones)
<input type ="number"> Optimized for number (with or without decimals ) input
<input type="password"> A password input field where the entered characters are hidden
<input type="date"> an input where the browser opens a date picker overlay
<input type="radio"> A radio button: Can be used to present multiple options where only one option can be selected simultaneously
<input type="checkbox"> A checkbox button can be used to present a "toggle" (yes/no) option to the visitor(eg "Agree terms ")
<input type="file"> A file picker:Allows the user to pick a file (eg for image upload)
More input types are available, but not all are supported in all browsers
<Textarea> </textarea>
Dropdown
required min
required max
Comments
Post a Comment