W3C home > Mailing lists > Public > www-validator@w3.org > September 2007

Re: Passed validation with wrong markup....

From: David Dorward <david@dorward.me.uk>
Date: Tue, 4 Sep 2007 13:35:09 +0100
Message-Id: <93A7F722-02B2-4DE4-8072-1410D2D2719F@dorward.me.uk>
Cc: www-validator@w3.org
To: "NOWAR.MEANS.PEACE@GMAIL.com" <nowar.means.peace@gmail.com>

On 4 Sep 2007, at 08:45, NOWAR.MEANS.PEACE@GMAIL wrote:
> When looking in the source I saw that the links had a BACKSLASH in  
> it, instead of a SLASH.
> So why is it that the w3c validator gives a passed validation for a  
> sloppy code?
Because, in HTML, the value of the href attribute is allowed to  
contain backslash characters. It might not mean what was intended,  
but that doesn't make it invalid.

David Dorward
Received on Tuesday, 4 September 2007 12:35:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC