W3C home > Mailing lists > Public > www-validator-css@w3.org > May 2005

Re: invalid XHTML link for CSS picture

From: David Dorward <david@dorward.me.uk>
Date: Thu, 5 May 2005 06:45:23 +0100
To: Baptiste M?l?s <baptiste.meles@ens.fr>
Cc: www-validator-css@w3.org
Message-ID: <20050505054523.GA27227@us-lot.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:15 GMT