# HTML5 Input Types ## **1. *color:*** Color picker control , you can choose any color easily. ``` html <input type="color" name="theme" value="#0000FF"> ```  --- ## **2. *range*** Slider controls to pick a number. ``` html <input type="range" name="choose" min="0" max="100" step="5" value="0"> ```  --- ## **3. *number*** Controls for entering numbers. ``` html <input type="number" min="0" max="30" step="3"> ```  --- ## **4. *email*** The user is required to type a valid email address into the field. ``` html <input type="email" name="email"> ```  --- ## **5. *url*** A special type of field for entering URLs. ``` html <input type="url" name="email"> ```  --- ## **6. *search*** To create search boxes on pages and apps. ``` html <input type="search" name="search"> ```  --- ## **7. *tel*** A special field for filling in phone numbers. ``` html <input type="tel" name="Telphone" placeholder="+ 966 22 00"> ```  --- ## **8. *time*** To display and pick a time value. ``` html <input type="time" name="timing"> ```  --- ## **9. *date*** To display and pick a date value. ``` html <input type="date" name="date"> ```  --- ## **10. *datetime-local*** To display and pick a date with time with no specific time zone information. ``` html <input type="datetime-local" name="datetime-local"> ```  --- ## **11. *week*** To display and pick a week number and its year. ``` html <input type="week" name="week"> ```  --- ## **12. *month*** To display and pick a month with a year. ``` html <input type="month" name="month"> ```  --- >>>>>#### MOHAMMED DAHALAN © 14/10/2021
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up