Sujal Kumar Chandravanshi
@sujal2214m
HTML
INPUT TYPES
Sujal Kumar Chandravanshi
@sujal2214m
The HTML <input> tag is a
fundamental element to create
interactive web forms controls.
It allows users to enter and
submit information to a web
server.
Swipe
Sujal Kumar Chandravanshi
@sujal2214m
1. Text input (<input type=”text”/>)
Creates a single-line text input field for
generic text entry.
2. Password input (<input type=”password”/>)
Creates a password field where characters
are masked for security reasons.
3. Email input (<input type=”email”/>)
Creates an input field specifically for email
addresses.
Swipe
Sujal Kumar Chandravanshi
@sujal2214m
4. Number input (<input type=”number”/>)
Creates an input field for numeric values.
5. Date input (<input type=”date”/>)
Creates an input field for selecting a date.
6. Checkbox input (<input type=”checkbox”/>)
Creates a checkbox for selecting one or more
options.
7. Radio input (<input type=”radio”/>)
Creates radio buttons where only one option
can be selected from a group.
Swipe
Sujal Kumar Chandravanshi
@sujal2214m
8. File input (<input type=”file”/>)
Creates a file upload button for selecting
files from the user's device.
9. Submit input (<input type=”submit”/>)
Creates a submit button to send form data to
the server.
10. Reset input (<input type=”reset”/>)
Creates a reset button to clear the form and
set all its elements to their default values.
Swipe
Sujal Kumar Chandravanshi
@sujal2214m