The input tag does not need an ending tag and can have numerous attributes:
I am really sure that you have certainly hear a lot of, over the time, on the Internet.
<input type="text" /><br /> <input type="password" />
Write something in the boxes above to see the difference.
Ideal for offering the user the option of selecting more than one answers
<input type="checkbox" /> Milk<br /> <input type="checkbox" /> Water<br /> <input type="checkbox" /> Bread
And I am not saying a music radio, but a small circle which offers the possibility of choosing only one answer for a single question.
<input type="radio" /> Man<br /> <input type="radio" /> Woman
Here, we will have to give a value to the submit attribute, this being the text that will be shown on the generated button.
<input type="submit" value="Submit" /> <input type="submit" value="Next step >>" />
Here, same as with the submit button, we will have to give a value, that will be the text that will be shown on the generated button. This button is extremely useful in cases in which the user completes the majority of the forms with wrong information.
<input type="reset" value="Reset" /> <input type="reset" value="Delete All " />