Problem Statement
Which input type ensures the user enters a valid email address in a registration form?
Explanation
The input type='email' provides built-in validation for proper email format and displays an optimized keyboard on mobile devices for typing email addresses.
Code Solution
SolutionRead Only
<form> <label>Email:</label> <input type="email" required> <button>Register</button> </form>
Practice Sets
This question appears in the following practice sets:
