如何编写复杂的html表单?

时间:2022-09-16 18:03:32

I have been given the task of coding the form below. I was planning to do it using tables, however my instructor told me to do it using divs, since it takes up more resources or something(I think he said it was intensive). I can do it using divs, but I think it is a waste of time because I could make the below form easily using tables(I mean quickly).

我被赋予了编码下面表格的任务。我打算用桌子来做,但是我的导师告诉我用div来做,因为它需要更多的资源或其他东西(我认为他说这是密集的)。我可以使用div来做,但我认为这是浪费时间,因为我可以使用表格轻松地制作下面的表格(我的意思很快)。

Any ideas as to how to proceed, what to use, tables or divs or some thing better ??

关于如何进行,使用什么,表格或div或更好的东西的任何想法?

如何编写复杂的html表单?

2 个解决方案

#1


2  

As long as the form looks the way it should and validates valid HTML 4 or xhtml breeds, you're good to go unless your instructor def wants you to use divs and css to create the layout. I would recommend the latter if you really want to get proficient in modern practices using css based layouts. Good luck!

只要表单看起来应该如此并验证有效的HTML 4或xhtml品种,除非你的教师def要求你使用div和css来创建布局,否则你很高兴。如果你真的想要使用基于CSS的布局熟练掌握现代实践,我会推荐后者。祝你好运!

#2


1  

They are not mutually exclusive. You could use divs for the main panels and tables within the divs to layout controls and text.

它们不是相互排斥的。您可以使用div作为div中的主面板和表格来布局控件和文本。

#1


2  

As long as the form looks the way it should and validates valid HTML 4 or xhtml breeds, you're good to go unless your instructor def wants you to use divs and css to create the layout. I would recommend the latter if you really want to get proficient in modern practices using css based layouts. Good luck!

只要表单看起来应该如此并验证有效的HTML 4或xhtml品种,除非你的教师def要求你使用div和css来创建布局,否则你很高兴。如果你真的想要使用基于CSS的布局熟练掌握现代实践,我会推荐后者。祝你好运!

#2


1  

They are not mutually exclusive. You could use divs for the main panels and tables within the divs to layout controls and text.

它们不是相互排斥的。您可以使用div作为div中的主面板和表格来布局控件和文本。