Some useful HTML input types:
A thread🧵👇
Email: The <input type="email"> defines a field for an e-mail address.
The input value is automatically validated to ensure it is a properly formatted e-mail address.
File: The <input type="file"> defines a file-select field and a "Browse" button that lets the user choose one or more files from their device storage.
Color: The <input type="color"> defines a color picker. The default value is #000000 (black). The value must be in seven-character hexadecimal notation.
Tel: The <input type="tel"> defines a field for entering a telephone number.
Time: The <input type="time"> creates input fields designed to let the user easily enter a time (hours and minutes).
Month: The <input type= "month"> create input fields that let the user enter a month and year allowing a month and year to be easily entered.
Range: The <input type="range"> defines a control for entering a number whose exact value is not important (like a slider control). Default range is 0 to 100.
That's all for the thread.
If you find it useful retweet the first one.
Happy Learning. 💙✨
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.