3 ms·
The HTML spec allows omitting <html>, <head>, and <body>, under certain circumstances. See https://html.spec.whatwg.org/#syntax-tag-omission https://html.spec.
by JoshTriplett 10y ago
The HTML spec allows omitting <html>, <head>, and <body>, under certain circumstances. See https://html.spec.whatwg.org/#syntax-tag-omission https://html.spec.whatwg.org/#syntax-tag-omission for the exact rules.
(Not that that page validates with a modern HTML standard, but it doesn't fail for that particular reason.)