HTML Fundamentals Tutorial
About Lesson

Input Types

HTML provides a wide range of input types, each tailored to gather specific types of data. Some common input types include:

  1. Text Input: <input type=”text”>
    1. (Used for single-line text input, such as names, email addresses, or search queries.)
  2. Password Input: <input type=”password”>
    1. Conceals the input characters, typically used for sensitive information like passwords.
  3. Checkbox: <input type=”checkbox”>
    1. Allows users to select one or more options from a list of choices.
  4. Radio Button: <input type=”radio”>
    1. Enables users to choose only one option from a list of mutually exclusive choices.
  5. Dropdown Menu: <select>
    1. Presents a list of options in a dropdown menu, allowing users to select one.
  6. File Input: <input type=”file”>
    1. Enables users to upload files from their local system.
  7. Submit Button: <input type=”submit”>
    1. Submits the form data to the server for processing.
Join the conversation