Earlier quoted context omitted.
That‘s perfecly valid HTML. Try it. Pass it to a validator.
As I said, we now have rules for broken HTML like that. Yes, it validates. It's Postel's Law run amuck.
This is absolutely nothing to do with Postel’s law. I believe that Postel’s law is a terrible idea in most places—it leads to a lack of robustness in practice, and all kinds of security problems, because most programmers are frankly not good at their trade. Rather, the HTML spec defines all behaviour—so there is no liberality about it; you’re simply following the spec with no interpretation—which is the only way to write robust protocols and their implementations.