HTML & CSS · Junior · Question 44 of 75
What does <input type="email"> give you compared with type="text"?
- 1It automatically checks that the mailbox actually exists
- ✓Correct answer: Built-in email format validation and a suitable keyboard on mobile
- 3It encrypts the entered address before sending
Explanation
The browser checks the address syntax (presence of @, etc.) on submit and shows a keyboard with @ on mobile. It doesn't check whether the mailbox exists, and encryption is provided by HTTPS. Built-in validation is complemented by required, pattern, minlength, but server-side validation is still mandatory.