HTML Input Type

<input> tag have different input types. These different types are used for different value to perform different type of tasks.The following table describes different <input> types.

Input TypeTaskExample
<input type=="text=">One-line text input field.
<input type="password" >Its Defines password field.
<input type="submit" >A button for Submitting form data.
<input type="reset" >It will reset the form data.
<input type="radio" >Radio Button.
<input type="checkbox" >Its Defines password field.
<input type="button" >form button.


Try It Yourself