Is it acceptable to use tables for forms? Or is it still more correct to use divs?

后端 未结 13 1674
逝去的感伤
逝去的感伤 2020-12-02 22:55

I\'m wondering whether it\'s acceptable to use tables for forms.

Strictly speaking, name/value pairs are tabular data, aren\'t they? And a form is just

13条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 23:25

    you can use whatever you want, it just that it is a new standard for making the layout of the html forms, and it's kinda like a rule not use table tags for design, but it's still ok to use tables for displaying a table of data (grid)

提交回复
热议问题