W3C home > Mailing lists > Public > www-validator@w3.org > June 2004

Valid XHTML

From: Håvard Hvassing <havard@hvassing.com>
Date: Sat, 5 Jun 2004 21:37:50 +0200
To: "'W3C'" <www-validator@w3.org>
Message-Id: <20040605193341.3EF64A0764@frink.w3.org>

Happy weekend everyone


Shouldn’t this code be altered? I mean; it is both invalid and you can’t use
<p> inside a <div> tag. 
<p>
      <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-xhtml11"
          alt="Valid XHTML 1.1!" height="31" width="88" /></a>
</p>
Of course; those of the users who makes valid XHTML-pages can alter this by
themselves without problem, as Kynn Bartlett wrote. 

I know it was mentioned earlier in 

On May 28, 2004, at 5:24 PM Geoffrey Sneddon [geoffers@geoffers.uni.cc]
wrote:
>If you document is valid XHTML Strict, it gives you this code:
>
>     <p>
>       <a href="http://validator.w3.org/check?uri=referer"><img
>           src="http://www.w3.org/Icons/valid-xhtml10"
>           alt="Valid XHTML 1.0!" height="31" width="88" /></a>
>     </p>
>
>
>Which wouldn't validate, this is stupid, you get code for your page being
valid, but the code you are given isn't...

To which Kynn Bartlett [kynn@idyllmtn.com] replied on May 28, 2004 at 02:24
PM:
>Yeah, but if you're smart enough to make your code Valid HTML Strict,
you're smart enough to fix the problem. :)
>
>--Kynn
>

However; how about replacing the <p>-tags with a <div>-tag?


Best regards
Håvard Hvassing


"... Simple solutions made easy..."
Received on Saturday, 5 June 2004 15:33:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT