← Back to context

Comment by crote

1 day ago

Isn't that what the <!DOCTYPE> tag was supposed to solve?

Yes, I covered that; everyone assumed that you only needed to specify the doctype, but in practice browsers only accepted it for local files or HTTP responses with Content-Type: application/xml+xhtml. I've edited the comment to make that more explicit.

  • Ah, I see. Yeah, that's a bit silly. They should've gone for "MUST have doctype, SHOULD have content type".