Fix DOCTYPE, spelling in metadata, unclosed tags.