Re: invalid XHTML link for CSS picture

On Wed, May 04, 2005 at 04:34:47PM +0200, Baptiste M?l?s wrote:
> I got this message:
> 
> <p>
>  <a href="http://jigsaw.w3.org/css-validator/">
>   <img style="border:0;width:88px;height:31px"
>        src="http://jigsaw.w3.org/css-validator/images/vcss" 
>        alt="Valid CSS!">
>  </a>
> </p>
> 
> Unfortunately, this isn't valid XHTML, because the <img> tag isn't
> closed. I guess HTML accepts this, but XHTML doesn't. You should maybe
> specify it

The validator does - immediately after the code example.

      </a>
     </p>

     (close the img tag with /> if using XHTML)


-- 
David Dorward                                      http://dorward.me.uk

Received on Thursday, 5 May 2005 05:45:29 UTC