Fix HTML validation errors