Fix numerous HTML validation errors.