W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2002

Re: CSS Icon Code

From: Philippe Le Hegaret <plh@w3.org>
Date: 29 Mar 2002 11:57:57 -0500
To: Stephen Fairchild <sfairchild@mail.colgate.edu>
Cc: "'www-validator-css@w3.org'" <www-validator-css@w3.org>
Message-Id: <1017421078.32142.7.camel@jfouffa>
On Thu, 2002-03-28 at 20:21, Stephen Fairchild wrote:
> Dear Sir or Madam,
> 
> After my CSS validated, I used the code provided to add the "Valid CSS!"
> icon to my pages.  However, I noticed (after running my pages through the
> W3C HTML validator again) that the <img> element is missing an ending slash
> that it needs, as it is an empty element.  The code for the "Valid XHTML
> 1.1!" icon has this ending slash.  This lack of an ending slash caused my
> pages to become invalid, and while it was merely a minor inconvenience to
> fix the code and revalidate, I thought I would bring this to your attention.
> Is it without a slash for a specific reason that I am missing?

The validator should give the appropriate XHTML markup if you give your
XHTML document during the CSS validation.

Philippe
Received on Friday, 29 March 2002 12:10:03 GMT

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