HTML 5 defines what a conforming parser should do in the face of invalid markup. Cunning.