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.>
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.


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

David Dorward
Received on Wednesday, 20 May 2009 15:29:24 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:34 UTC