Why is not possible to nest forms in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Why is not possible to nest forms in HTML

17th Jul 2019, 8:44 PM
Yeabsera 🇪🇹
Yeabsera 🇪🇹 - avatar
3 Answers
+ 7
A form is a mechanism to submit data out of a html page by calling a different page. If you were allowed to nest them, it would not be clear for the browser, which form's action to execute. There can be only one, as in Highlander. :)
18th Jul 2019, 5:41 AM
Tibor Santa
Tibor Santa - avatar
+ 4
But you can have multiple forms in an html document, just not nested.
18th Jul 2019, 9:11 AM
Sonic
Sonic - avatar
+ 2
This basically sounds like a very bad idea
18th Jul 2019, 11:06 AM
Loeschzwerg