Why we use <form> tag as a container of inputs on Html..?! | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 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