News for hackers. Stuff that matters.
Re:HN's HTML Is Invalid by petee on Friday August 18, 2023 @10:35AM (#37176223)
So no real use, got it. Luckily IE 9 has been gone for awhile

My point was its silly because the html self-defines being html the second you open the <html> tag, because what else could it even be?

Re:HN's HTML Is Invalid by ElectricalUnion on Friday August 18, 2023 @11:07AM (#37176721)
> So no real use, got it.

If you don't care your site potentially becomes unusable broken shit outside of the specific browser you develop it on, there's no real use.

https://quirks.spec.whatwg.org/

Re:HN's HTML Is Invalid by petee on Friday August 18, 2023 @11:13AM (#37176789)
I'm mistaken then; from the block you copy and pasted I misread it to suggest only IE 9 cares about quirks. In my personal use I'd never seen it matter cross-browser before

That said, HN works fine.

Re:HN's HTML Is Invalid by mcaruso on Friday August 18, 2023 @12:41PM (#37178245)
Of course HN works fine, if it didn't work fine it'd be fixed by now. "Working fine" is an extremely low bar for any site. As a developer you will still want to avoid quirks mode because it just makes your life harder for no reason.
Re:HN's HTML Is Invalid by tzs on Friday August 18, 2023 @01:42PM (#37179325)
What if the document has omitted the <html> tag?