cleaning up and checking html validation