HTML Form Input Type
Multiple Choice Easy
Question
Which input type provides email validation in HTML5?
Hint
HTML5 added specific input types for better validation.
Explanation
type="email" provides built-in email format validation in HTML5. Browsers check that the input matches a basic email pattern before form submission. It also triggers an email-appropriate keyboard on mobile devices. Other HTML5 types: url, tel, date, number, color, range.
Related Resources
Related Lessons
- HTML Forms
Learn HTML forms.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.