W3C home > Mailing lists > Public > www-validator@w3.org > March 2010

Re: Can't figure this error out

From: David Dorward <david@dorward.me.uk>
Date: Mon, 22 Mar 2010 15:31:19 +0000
Cc: www-validator Community <www-validator@w3.org>
Message-Id: <385CCDD7-AC65-4986-BEAA-CF951C6A3B55@dorward.me.uk>
To: Lou King <lking@knob.com>

On 18 Mar 2010, at 18:30, Lou King wrote:
> In a javascript function in the header the line that is causing problems is:
> map.openInfoWindowHtml(map.getCenter(), "<img src='../jpg/Finian.jpg' width='64' height='80' alt='picture of Peter'><b>This is a picture of 951 Greene Street</b>");

For that error, the validator reports:

If this error occurred in a script section of your document, you should probably read this FAQ entry.

Linking to: http://www.htmlhelp.com/tools/validator/problems.html#script

Which explains how to deal with the issue without resorting to string concatenation. 

David Dorward
Received on Monday, 22 March 2010 15:32:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:00 UTC