Can a form tag enclose a body tag?
4 answers
By examining the description of W3C Recommendations
Form elements , it clearly shows that you better not use this method.
You can use the element Form
in:
The contexts in which this element can be used: where the content of the stream is expected.
Where Stream Content is described as:
Most of the elements that are used in documents and applications are classified as flow .
Therefore, without following these guidelines, any HTML validators will also report errors to you, as the forms opening the closing tags were not found in the side of the body definition. This is perfectly true since:
Missing tags in text / html: No tags are valid.
+3
source to share