What the purpose of the form tag in html.I can easily just use any input types perfectly without using the form tag?
The < form > tag can be used to create HTML form for user input. The < form > element can contain one or more of the following form elements: <input> <textarea> <select>
.
We can include <input>
types completely without using the form (<form>
) tag. For example :- <body> <input type='text' /> </body>