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

Re: Not valid

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 21 Jan 2003 01:22:54 +0100
To: Rikard Friberg <rikard.friberg.9565@student.uu.se>
Cc: www-validator-css@w3.org
Message-ID: <3e398dc3.86352007@smtp.bjoern.hoehrmann.de>

* 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 Monday, 20 January 2003 19:22:37 GMT

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