Fixed all HTML5 validation failures and avoidable warnings.