HTML/CSSBeginner#html#forms

What HTML5 form input types do you know?

Beyond text and password, HTML5 added email, number, date, time, tel, url, range, color, search, and checkbox/radio remain classics. These give built-in validation and mobile-optimized keyboards without JavaScript.

Example
<input type="email" required>
<input type="number" min="1" max="10">
<input type="date">
<input type="range" min="0" max="100">
<input type="color">

Related Questions

1
HTML/CSSIntermediate#html#forms

How do you validate a form using native HTML attributes?

Open
2
HTML/CSSBeginner#html#forms

What is the difference between GET and POST form methods?

Open
3
HTML/CSSBeginner#html#forms

What is the purpose of the <label> element and how should it be associated with inputs?

Open