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

invalid XHTML link for CSS picture

From: Baptiste Mélès <baptiste.meles@ens.fr>
Date: Wed, 4 May 2005 16:34:47 +0200
To: www-validator-css@w3.org
Message-ID: <20050504143447.GA8031@steamer.ens.fr>


I just tried to validate

and I got this message:

 <a href="http://jigsaw.w3.org/css-validator/">
  <img style="border:0;width:88px;height:31px"
       alt="Valid CSS!">

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, otherwise some people could insert invalid XHTML code in
their sheets wanting to use valid CSS...

Best regards,
Received on Thursday, 5 May 2005 01:57:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:40 UTC