galvin Posted October 9, 2009 Share Posted October 9, 2009 If you have a FORM that you layout using a TABLE, should the FORM tag come first or the TABLE tag? Or does it not matter either way. I know it works both ways, but is there a reason one way is more proper than the other? In other words, which of these is more "proper"... <form id="myform"> <table id="mytable"> (other table tags) </table> </form> OR <table id="mytable"> <form id="myform"> (other table tags) </form> </table> Quote Link to comment Share on other sites More sharing options...
haku Posted October 9, 2009 Share Posted October 9, 2009 If the table serves no other purpose than to contain the form, then use form then table. If the form is just one part of the table (which is bad semantics), then use the table then form. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.