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 | Design Form
- HTML | DOM Form name Property
- HTML | DOM Form Object
- HTML | DOM Form action Property
- HTML | DOM Textarea form Property
- HTML | DOM Form target Property
- HTML | DOM form method Property
- HTML | DOM Form autocomplete Property
- HTML | DOM Input URL form Property
- HTML | DOM Object form Property
- HTML | DOM Legend form Property
- HTML | DOM Select form Property
- HTML | DOM Form reset() Method
- HTML | DOM Form submit() Method
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. 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.