W3C home > Mailing lists > Public > www-validator@w3.org > July 2012

Re: HTML error & warning messages referring to content of Kindle and Nook links

From: David Dorward <david@dorward.me.uk>
Date: Mon, 16 Jul 2012 06:52:50 +0100
Cc: www-validator@w3.org
Message-Id: <89E16FDD-7A02-41E2-943B-985782825F13@dorward.me.uk>
To: Stefan <zoofence@gmail.com>

On 15 Jul 2012, at 15:55, Stefan wrote:

> Friends,
>    Checking http://www.zoofence.com/index3.html
>    Eight errors and warnings were found at line 344.
>    All of the errors and warnings refer to the content of two links, one to Amazon.com's Kindle, the other to Barnes & Noble's Nook.
>    Both of the links work properly.

Browsers perform error recovery, you shouldn't depend on it.

>    How can we "fix" (rewrite) those errors without damaging the link?

To quote the error message the validator reports:

    Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). 


-- 
David Dorward
http://dorward.me.uk
Received on Monday, 16 July 2012 05:53:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 July 2012 05:53:29 GMT