The <form> tag in HTML is used to create form for user input. There are many elements which are used within form tag. For example: <input>, <textarea>, <button>, <select>, <option>, <optgroup>, <fieldset>, <label>.
<form> Form Content... </form>
Attributes: There are many attributes which are associated with <form> tag. Some of them are listed below:
- input: It is used to specify the input field for user.
- textarea: It is used to specify for multi-line text input field for user.
- button: It is used to perform an operation in a form by the user.
- label: It is used to give label to any tag like button, input etc.
Supported Browsers: The browser supported by <form> tag are listed below:
- Google Chrome
- Internet Explorer
- HTML | form Attribute
- HTML | <form> name Attribute
- HTML | DOM Form name Property
- HTML | DOM Form Object
- HTML | Design Form
- HTML | <button> form Attribute
- HTML | <form> target Attribute
- HTML | DOM form method Property
- HTML | DOM Form action Property
- HTML | DOM Fieldset form Property
- HTML | DOM Form autocomplete Property
- HTML | DOM Form target Property
- HTML | DOM Form reset() Method
- HTML | DOM Form submit() Method
- HTML | DOM Form acceptCharset Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.