Re: [VE][html5] <strike> warning should recommend using <s> instead

Jukka K. Korpela wrote:

> <p>hello <del><p>foo</p></del> world</p>
>
> The validator does not accept this in HTML5 mode. It says
>
> “End tag p implied, but there were open elements.”
>
> when it encounters the second <p> tag.

whereas in HTML 4.01 Strict mode, the validator is happy.
Interesting.  I think this must be one of those instances
where the HTML 5 draft specification is actually an improvement
on its HTML 4.01 predecessor.

Thank you, Jukka.

Philip Taylor

Received on Friday, 28 March 2014 19:25:36 UTC