HTML validation fixes

Correcting HTML errors to try to get IE out of quirks mode.