and make the html code valid...