When you open a tag within another tag, the tag you open will get closed when its parent gets closed. So this:
<p><form></p>
<p></form></p>
Will (or should) result in:
<p><form></form></p>
<p></p>
You should open your form above the table and close it at the bottom, thus enclosing the entire table in the form.
Placing non-table tags between tr,td,thead,tbody,tfoot or th tags is bad practice and not w3c compliant
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…