HTML form elements basically use in web pages for collect user information. That’s like user register data, login data, some contact information, comments and many purpose.
HTML form needs a web page, when visitors visit your web page then HTML form helps them to give some feedback. That’s like give some comment, contact us, sign up, login etc.
In a HTML web page various form elements are use. That’s like input text fields, button fields, email, textarea fields, drop-down menus, radio buttons, checkboxes, etc.
The HTML Form start with <form> tag and end with </form> tag. For Example:
Form elements are different types of input elements, like text fields, checkboxes, radio buttons, submit buttons, and more.
HTML forms are generally used to collect user inputs like login information, feedback or comments. The basic from controls used for this purpose are: from, input
The <input> Elements are:
Input Type Text:
<input type="text" name="name">
Input Type Number:
<input type="number" name="phone">
Input Type Email:
<input type="email" name="Email">
Input Type Password:
<input type="password" name="pwd">
Input Type Radio:
<input type="radio" name="gender">
Input Type Checkbox:
<input type="checkbox" name="nationality">
Input Type Button:
<input type="button" name="mybutton" value="My Button">
Input Type Date:
<input type="date" name="calander">
Input Type Submit:
<input type="submit" value="save">
Input Type Reset:
<input type="reset" value="reset">
The <select> Element:
<select> <option value="1"> 1 </option> <option value="2"> 2 </option> <option value="3"> 3 </option> <option value="4"> 4 </option> <option value="5"> 5 </option> </select>
The <textarea> Element:
<textarea></textarea>
The <button> Element:
<button type="button" name=""> Button </button>