Skip to content

Courses / HTML5 Mastery: Complete Beginner to Advanced Course / HTML Input Types

547 people viewed this

HTML Input Types

Revision Quiz

  1. Which input type is appropriate for an email address?
  2. Which type hides characters visually when entering a password?
  3. Which type is suitable for telephone numbers?
  4. What does required do?
  5. What is the difference between disabled and readonly?
  6. Is the accept attribute a security guarantee?

Answer Key and Explanations

  1. email — It enables email-oriented browser behavior and basic format validation.
  2. password — It visually masks entered characters.
  3. tel — Telephone numbers are identifiers, not quantities.
  4. Requires a value — The browser normally blocks submission when the required control is empty.
  5. disabled controls are unavailable and excluded from normal submission; readonly controls cannot be edited but their values are generally submitted.
  6. No. The server must independently validate uploaded files.

Rate this course

5.0 · 1 rating

Stars show on this course. Your written note stays private.

Your stars