The HTML form element < input type=" " > is very crucial. The input element's "type" attribute can be one of several types, each of which defines an information field. A text box is created by using < input type="text" name="name" >.
This element can be used to select one option among multiple options.
This element can be used to select more than one option among multiple options.
This element is used to define a password field.
This element is used to define input fields containing an email address.
This element is used to take a date input from the user.
This element is used to input the color of user’s choice. A color picker will be displayed according to the browser.
The color mentioned in the code will be displayed by default.
After choosing some other color:
This element can be used to upload a file to the webpage.
Before choosing a file:
After choosing a file:
|