Why we use <form> tag as a container of inputs on Html..?! | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why we use <form> tag as a container of inputs on Html..?!

We can use div instead or We can dispense with them, so what is the deal.

8th Mar 2019, 12:04 PM
yossef Dawoad
yossef Dawoad - avatar
2 Respostas
+ 1
Form includes method (get or post) and action (where to submit form data to). If you donā€™t use the form tag, you can still have form inputs, but the form canā€™t be submitted.
8th Mar 2019, 1:26 PM
Mike
Mike - avatar
0
Yeah, thanks that's helpful, so it look like it's important in backend development
8th Mar 2019, 1:28 PM
yossef Dawoad
yossef Dawoad - avatar