Neaten html code for slit