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. 💙✨
• • •
Missing some Tweet in this thread? You can try to
force a refresh
➡️htmlcheatsheet .com
Online interactive Cheat Sheet contains useful code examples, web developer tools, markup generators, and more.
➡️cssreference .io
cssreference is a free visual guide to CSS. It features the most popular properties, and explains them with illustrated and animated examples.
What is function and why do we use it?
- Local and Global variables in JavaScript.
A small thread🧵👇
- A JavaScript function is a block of code designed to perform a particular task. It allows us to write more maintainable code. Define the code once, and use it many times. You don’t need to write the same code over and over again.
- It is defined with the function keyword, followed by a name and parentheses (). The code to be executed by the function is placed inside curly brackets: {}
- A JavaScript function is executed when "something" invokes it (calls it).