Problem Statement
Which of the following are new input types introduced in HTML5?
Explanation
HTML5 introduced several new input types to improve form usability and validation, such as email, url, date, color, range, number, and search. These allow browsers to provide native validation and better UI controls, especially on mobile devices.
Code Solution
SolutionRead Only
<!-- Example HTML5 inputs --> <form> <input type="email" placeholder="Enter your email"> <input type="date"> <input type="color"> <input type="range" min="0" max="100"> </form>
