Live data from Hacker News

HN's HTML Is Invalid

validator.w3.org

21–30 of 62 posts

Re: HN's HTML Is Invalid

#22
In defense, half of these look like what I'd call "normal" HTML, granted I'm not up on the latest fads.

But "" is depreciated now? Come on.

"Width" and "height" attributes too? To what purpose? They are clear, easy to use, and apparently still widely supported with no issue.

And yet to see a browser that actually cares about DOCTYPE...usually its pretty obvious when the next line is

Edit: I seem to be mistaken about the importance of doctype for some situations.

Re: HN's HTML Is Invalid

#24

Ah, cellpadding and cellspacing. A blast from the past!

Wait, there is something newer now?

CSS padding and border-spacing properties can be used instead (they recommend using CSS).

The cellpadding [0] and cellspacing [1] attributes are still supported but deprecated. I'm impressed by the usage numbers, though. I do not believe this will be removed from browsers anytime soon, but that's just my opinion.

[0]: https://caniuse.com/mdn-html_elements_table_cellpadding

[1]: https://caniuse.com/mdn-html_elements_table_cellspacing

Re: HN's HTML Is Invalid

#25

Ah, cellpadding and cellspacing. A blast from the past!

Wait, there is something newer now?

This year every credible CSS expert is using grid-item-gutter-closed-start specified in qem units. Last year it was flex-interval-bound-distance: 1, auto, 100% but the spacing wasn’t artisanal enough. Many people are also discovering the Tailwind organic vintage where you just add sx-dff-7 gb-y it-9-em on all your elements.

Re: HN's HTML Is Invalid

#29
post #12

DANG what a blunder

No, this is a 4D chess move.

Since everything in web technology is circular he is just waiting for the page to become compliant again. It'll look impressive on the Internet Archive, so far ahead of its times! And with no effort whatsoever. This also applies to the visual style.

Re: HN's HTML Is Invalid

#30

Earlier quoted context omitted.

Wait, there is something newer now?

Tables first came to be used as a tool for general page layout because IE 5's box model sucked so bad nothing else really worked. It has been a minute since that constraint applied, yeah.

Tables first came to be used for displaying tabular (spreadsheet-like) data – which was what it was designed for.

And for that purpose, it's still the best option.

Post reply on HN