If I have a HTML form with some embedded divs, and after the CSS is applied the sections of the form end up spread all over the page outside of the original <form> boundaries, does/will the form continue to work. What do the HTML specs say about this kind of thing?
If I have a HTML form with some embedded div s, and after the
Share
Yes, the form will continue to work. CSS positioning does not affect the validity of the HTML. The only concern is usability or clarity. If it is not apparent that an element belongs to the form you might confuse the users. Or, if you position/layer something where it can’t be clicked that will cause problems as well.
But HTML and CSS are separate things… the HTML specs have nothing to say in this matter.