HTML & CSS · Junior · Question 44 of 75

What does <input type="email"> give you compared with type="text"?

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.

Further reading

Problem with a question

HTML & CSS · Junior · question 44

Test yourself

Take the HTML & CSS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz