What does <input type="email"> provide over type="text"?
A
Encryption of the typed address
B
Automatic sending of an email
C
A list of the user's contacts
D
Built-in email format validation
Correct answer
Correct answer
D. Built-in email format validation
17 views
⚔️
Challenge a friend on HTML
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
Browsers check for a valid email pattern before submitting and show an email keyboard on phones. Server-side validation is still essential , because client checks can be bypassed.
Reference
Asked in: NTS, Web Developer Interviews
Doubts & discussionNot sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ How is a <label> correctly linked to an input with id="email"? Next MCQ › Which attribute prevents a form from being submitted while a field is empty?