3 ms·
> The standard "tag soup" HTML parser has numerous > surprising behaviors on invalid or questionable HTML code. There is nothing surprising here. And some el
by rimliu 7y ago
> The standard "tag soup" HTML parser has numerous
> surprising behaviors on invalid or questionable HTML code.
There is nothing surprising here. And some elements are allowed to omit end tags, or even start and end tags altogether.
In fact, if you dig deeper there are a lot more surprises in XHTML documents (assuming they are served with the proper MIME type so they get treated like XHTML).