The HTML input
element creates interactive controls for the web. It is used in order to accept user data.
The most common type of inputs are
- text
- passwords
but the are other input types that can add more functionality to your HTML forms and pages.
Color
<input type="color" />
This displays a simple color picker on your browser...
Reset
<input type="reset" />
This adds a button that clears the form and sets it to its default value
Image
<input type="image" src="sign-up.png" alt="sign up" />
Now this display an image as specified in the
src
attribute Note: Style to tasteRange
<input type="range" />
The range displays a slider with
max
andmin
values...Time
<input type="time" />
Did you know you could input time in a form, as a time value? Now you know...
<HAPPY CODING /> ๐๐๐๐๐๐