final version of verifyHtmlPart