Re: It validates az HTML5 with no </head> and no </body>.

Jukka K. Korpela, Sun, 11 Dec 2011 11:51:09 +0200:

> The attachment (and the online document if fixed as suggested here) 
> passes "validation" only due to serious limitations in "validation". 
> In particular, you are using an <img> tag without an alt attribute. 
> This would not pass in validation with an HTML 4.01 doctype, but in 
> HTML5, omission of the alt attribute is allowed under special 
> conditions, which are of such nature that automated checking will not 
> be possible for a few decades (it would require highly sophisticated 
> artificial intelligence). For some odd reason, no warning is given 
> either, even though omission of the alt attribute is wrong in more 
> than 99.99% of cases.

I did not find the original document where the problem manifested 
itself. But it sounds as if you say that the HTML5 validator never 
issues an error message when @alt is lacking. But that is not how it 
is. Here is a test in - gives the same 
result - where there is an error due to lack of @alt:
Leif H Silli

Received on Monday, 12 December 2011 14:26:24 UTC