W3C home > Mailing lists > Public > www-validator@w3.org > March 2014

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

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 28 Mar 2014 19:25:02 +0000
Message-ID: <5335CC8E.5080604@Rhul.Ac.Uk>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, "www-validator@w3.org" <www-validator@w3.org>, "j.j." <moz@jeka.info>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:10 UTC