I am thinking of it as markup. I stand by the point: I think "forgiving" is not a feature in parsing; it's a bug.
Once there was a standardized interpretation for malformed html, there was a chance that we could have treated that as a transparent conversion layer to xhtml. That isn't how WHATWG went, however.