Validate html and add titles to the non-title pages.