W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2003

Re: Not valid

From: Philippe Le Hegaret <plh@w3.org>
Date: 27 Feb 2003 17:55:32 -0500
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-validator-css@w3.org
Message-Id: <1046386532.8012.290.camel@jfouffa.w3.org>

The validator does give back valid XHTML markup to be inserted in the
page if the page submitted is using XHTML:
http://jigsaw.w3.org/css-validator/validator?uri=http://www.w3.org/

Philippe

On Mon, 2003-01-20 at 19:22, Bjoern Hoehrmann wrote:
> * Rikard Friberg wrote:
> >Your icon:
> >
> ><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>
> >
> >Is not valid XHTML...
> >
> >Why?
> 
> Because it's HTML code, as the validator tells you.
> 
> >You should add an / in the end of the img style-tag.
> 
> This wouldn't work for HTML documents then. I agree that it'd be a good
> idea if the validator uses XHTML code for XHTML documents and HTML code
> for HTML documents. This is a known issue.
Received on Thursday, 27 February 2003 17:55:35 GMT

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