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

Re: 1 element becomes 2

From: David Dorward <david@dorward.me.uk>
Date: Wed, 20 May 2009 16:28:44 +0100 (BST)
Message-ID: <63093.132.185.240.120.1242833324.squirrel@malt.us-lot.org>
To: "Hannes Kirsman" <hkirsman@gmail.com>
Cc: www-validator@w3.org
<quote who="Hannes Kirsman">
> is this a bug of firefox or w3c validator? I have <a href="" /> tag and
> firefox shows 2 a tags.
>
> W3C validator says all is ok.

Sounds like you are writing XHTML and serving it as text/html, in which
case browsers treat it as HTML with errors and not as XHTML.

The fault is with the code - but it _is_ valid.

http://www.w3.org/TR/xhtml-media-types/

(Please direct responses to www-validator and not directly to me)

-- 
David Dorward
http://dorward.me.uk/
Received on Wednesday, 20 May 2009 15:29:24 GMT

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