Re: 1 element becomes 2

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