Is it correct to use DIV inside FORM?

前端 未结 10 1605
旧巷少年郎
旧巷少年郎 2020-12-02 17:51

I\'m just wondering what are you thinking about DIV-tag inside FORM-tag?

I need something like this:

&l
10条回答
  •  有刺的猬
    2020-12-02 18:35

    It is totally fine .

    The form will submit only its input type controls ( *also Textarea , Select , etc...).

    You have nothing to worry about a div within a form.

提交回复
热议问题