Fixed backwards closing tags and html validation errors