Update generated HTML to conform to W3C standards.