logoalt Hacker News

Only 2.6% of the most visited websites have fully valid HTML

24 pointsby theo_dcrxtoday at 1:44 PM27 commentsview on HN

Comments

INTPenistoday at 2:55 PM

As someone who valued that "Validated by w3c" button on my website back in the day, if a website today has FULLY valid HTML, I gaurantee you the admin is a massive nerd.

show 4 replies
zbentleytoday at 3:08 PM

I wonder how many of them only work because of things like https://github.com/WebKit/WebKit/blob/main/Source/WebCore/pa...

Which overlaps with, but isn't the same as, JS quirks mode.

alt227today at 2:28 PM

This is exactly why HTML is so ubiquitous, because it is so tolerant of mistakes in formatting, syntax, and just about anything else.

Most browsers will even read and process most of the things listed on this page because even if the spec doesnt say so, it just makes sense to anyway.

show 2 replies
simonwtoday at 3:06 PM

  <img> is missing required "src" attribute
On 1,093 sites, 41.2% of the sample?
personalitysontoday at 2:27 PM

HN is not one of them https://validator.w3.org/nu/?doc=https%3A%2F%2Fnews.ycombina...

show 1 reply
JSR_FDEDtoday at 2:32 PM

50% of my errors are “<font> is deprecated”. If browsers stop supporting that I’m guessing huge swathes of the web will be affected, so I’m guessing it will never happen.

blakesterztoday at 2:23 PM

  "Accessibility failures are near-universal."
Why does it seem like Accessibility is always an after thought? It is usually so easy to do while a site is built. We just don't think about it until someone complains?
show 5 replies
cyanbanetoday at 2:19 PM

I would def argue this is a feature of the net ( that people from all walks of browsers can see mostly the same thing ) and not a bug.

collabstoday at 2:24 PM

I would be interested to see if the metric moves meaningfully based on switching to a different set of parameters for example running from the US vs the EU and multiple attempts over multiple days to see if anything changes...

shevy-javatoday at 2:56 PM

The question is how important it is to have fully valid HTML.

The HTML validator complains about a ton of useless crap IMO. At one point I simply gave up on that. Just blindly adhering to that validator makes little sense really.

rogixtoday at 2:25 PM

At this point, with all the tools available, if your site does not have fully valid HTML, it is because you don't care. LLMs are your friends, dev.

show 2 replies
hoddertoday at 2:20 PM

And not a single person cares. What does fully valid even mean anymore?

show 1 reply
theo_dcrxtoday at 1:44 PM

[flagged]

mervztoday at 2:53 PM

Legit who cares? It's not stopping people from visiting them