Validation. One can argue endlessly about its advantages / disadvantages, necessity / uselessness, relevance / irrelevance, etc., etc. :) For myself, I brought out one indisputable rule (very simple): when I see such an icon in Firefox in the lower right corner

I can know for sure that an error is somewhere in an unclosed tag, an incorrect arrangement of blocks or, for example, an incorrectly named attribute ... or something else that
actually affects performance / functionality / display (underline the appropriate). I do not have lazy reflections from the series: "Oh, well, this is a validator ... Something he didn’t like again ... You can score."
')
In fact, in the absence of any means, so to speak, of “debugging” html markup, the validator is a great way to avoid stupid mistakes and catch them quickly and painlessly. (It would seem that common truths, but for some reason this is often forgotten ... I am surprised how the same programmers often neglect validation of html and once again write, for example, the value of the attribute without quotes - when transferring the layout to the template. It seemed Who else would be aware of the importance of observing the rules of syntax and all formalities, if not coders?)
But back to our headline ...
So, open the main page of Habrahabr and see:

8 errors (I use SGML parser). In principle, not bad. It is understandable, the resource was made by people, to put it mildly, understanding, understanding ... in a word, professionals.
Then I just wondered what kind of errors they are and how “necessary” they are:

those. all errors, in fact, are contained in the block inserting Javascript. That is characteristic, in all other similar blocks - everything is fine. The most important thing: you could literally fix them in two counts:
1) add the necessary attribute
type="text/javascript"
2) we conclude the contents of the tag in
CDATA
(as far as I understand, this is the way it should be, because the validator processes
only html - well, SGML, to be exact - everything else should be hidden from it)
3) ALL!
There is also one unallocated alt for the picture with the eloquent class "kill-ie-please" :) Well, everything is easier here ...
Anticipating a lot of perplexing comments from the series: “So what? !!” I answer: nothing. This is just another demonstration of how a vanishingly small number of actions can sometimes lead to significant results. And how even on such respected resources they prefer to ignore it ...
Reason to think, so to speak.
PS : well, if tomorrow, when I open my favorite resource, I’ll see a white check mark on the bottom of the right green background - again, I’ll assume that it’s not for nothing that I wrote :)