As the others have said, it's all good, you can do it just fine. For me personally, I try to keep a form of hierarchical structure with my elements with a div
being the outer most parent element. I try to use only table
p
ul
and span
inside forms. Just makes it easier for me to keep track of parent/children relationships inside my webpages.