W3C home > Mailing lists > Public > www-validator@w3.org > October 1999

Wrong error: html code within javascript's write method

From: Arnost Lobel <alobel@deneba.com>
Date: Fri, 1 Oct 1999 17:20:59 -0400 (EDT)
Message-ID: <911C34FD83B8D1119788004033A02EAEAD3DB3@MAILSRVR>
To: www-validator@w3.org

when I let to validate my html file I got some errors which are probably


	I have a javasript in the header of my html file
	and there is this code:

	layer.write( '<SPAN CLASS="CvPageNr">' + iCurrPage.toString() +
'</SPAN>' );

	(where iCurrPage is an integer variable)
	I got this error:

	"...end tag for element "SPAN" which is not open..."

I do not think the validator is right.

Arnost Lobel
Received on Friday, 1 October 1999 17:30:55 UTC

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