Well every other thing was fixed, Thank you.

Regarding valid html, are you referring to quotes for attribute value, or is there something else?
I personally don't like tables too, but every where in phpmyadmin, I've seen forms are displayed using tables, So should i drop it?