Would it be wrong to have every element of a form wrapped in tags in an HTML page? Am curious as to why it would be wrong:
Basically I have
The question appears to be “Can an HTML document contain several forms?” The correct answer is “Yes, as long as they are not nested.” The forms will be completely distinct, each with a set of fields of its own.
Nested forms are not allowed, according to the specification:
Given this input in the w3 validator:
<!DOCTYPE html><html><head><title>tit</title></head><body>
<form action="x">
<form action="x">
<input type="submit" value="x"> <!-- Submitting.. Which form...?-->
</form>
</form>
</body></html>
The w3 validator says: