first pass HTML validation