Is it possible to wrap html form elements in multiple form tags?

后端 未结 2 1990
轮回少年
轮回少年 2021-01-13 21:56

Would it be wrong to have every element of a form wrapped in

tags in an HTML page? Am curious as to why it would be wrong:

Basically I have

2条回答
  •  粉色の甜心
    2021-01-13 22:18

    The question appears to be “Can an HTML document contain several forms?” The correct answer is “Yes, as long as they are not nested.” The forms will be completely distinct, each with a set of fields of its own.

提交回复
热议问题