Fix HTML validation issues