Is it correct to use DIV inside FORM?

前端 未结 10 1650
旧巷少年郎
旧巷少年郎 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条回答
  •  旧时难觅i
    2020-12-02 18:32

    No, its not

    tags are always abused to create a web layout. Its symbolic purpose is to divide a section/portion in the page so that separate style can be added or applied to it. [w3schools Doc] [W3C]

    It highly depends on what your some and another has.

    HTML5, has more logical meaning tags, instead of having plain layout tags. The section, header, nav, aside everything have their own semantic meaning to it. And are used against

提交回复
热议问题