Valid XHTML

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 UTC