Skip to content

Comment on 4chan switches to HTML5/CSS3 (SFW)parent

Comments

According to the post, they got rid of a lot of spans and tables. Sure, they probably could've done that while staying within HTML4/XHTML, but when you're changing things around already, why not stick to the most recent standard?

They're using JavaScript onmouseover to show spoilers which can be accomplished in straight CSS2. I assume that's for IE compatibility. They're also still using <br/> tags in post comments, but I assume that's because it's easier to write a nl2br converter than to intelligently parse comments with more than two newlines into semantically-correct paragraphs.

I would have thought 4chan's thread format perfect to use the new <article>, <header>, and <footer> tags.

Considering that we're talking about 4chan, this might count as heavy abuse of the "article" tag…

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.