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

后端 未结 13 1647
逝去的感伤
逝去的感伤 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:41

    Yes

    Yes, you may use tables. Div's are supposed to replace tables for page-level layout, but not for, well, tables. Go ahead and use them within pages whenever they solve your problem.

    0 讨论(0)
提交回复
热议问题