Courses
/
HTML5 Mastery: Complete Beginner to Advanced Course
/
HTML Input Types
HTML Input Types
Revision Quiz
- Which input type is appropriate for an email address?
- Which type hides characters visually when entering a password?
- Which type is suitable for telephone numbers?
- What does required do?
- What is the difference between disabled and readonly?
- Is the accept attribute a security guarantee?
Answer Key and Explanations
- email — It enables email-oriented browser behavior and basic format validation.
- password — It visually masks entered characters.
- tel — Telephone numbers are identifiers, not quantities.
- Requires a value — The browser normally blocks submission when the required control is empty.
- disabled controls are unavailable and excluded from normal submission; readonly controls cannot be edited but their values are generally submitted.
- 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.