📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials HTML Fundamentals Input Types

Input Types

5 min read
HTML5 input types add built-in validation and mobile keyboards: email, number, date, color, range, and tel. type='password' hides characters. type='file' handles uploads. type='hidden' sends data invisibly.

Input Types

<input type="text">
<input type="email">
<input type="password">
<input type="number" min="0" max="100">
<input type="date">
<input type="time">
<input type="color">
<input type="range" min="0" max="100">
<input type="file" accept="image/*">
<input type="checkbox">
<input type="radio" name="gender" value="m">
<input type="search">
<input type="tel">
<input type="url">