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

Re: Error Message Feedback - css linking close tag

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 27 Nov 2005 13:17:08 +1100
Message-ID: <43891724.309@lachy.id.au>
To: Nicholas Tung <gatoatigrado@gmail.com>
CC: www-validator <www-validator@w3.org>

Nicholas Tung wrote:
> Validating http://gatoatigrado.existhost.com/
> 
> It appears that the <link> tag is not supposed to have a self-closing / -
> i.e. <link rel="stylesheet" type="text/css" href="___.css" />. This doesn't
> follow XML syntax - is this supposed to be a special exception?

No, as you mentioned that is *XML* syntax, yet the document at the URI 
above has an HTML 4.01 DOCTYPE, which *is not* XML and thus *does not* 
use XML syntax.

http://www.cs.tut.fi/~jkorpela/html/empty.html

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Sunday, 27 November 2005 02:17:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT