W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Errors in this file (was [VE][65] New Error Message Suggestion)

From: David Dorward <david@dorward.me.uk>
Date: Sat, 08 May 2004 09:16:36 +0100
To: ๓ลาวลส <but@ngs.ru>
Cc: www-validator@w3.org
Message-Id: <1084004196.2141.3.camel@localhost>

On Sat, 2004-05-08 at 08:56, ๓ลาวลส wrote:

Please use appropriate subject lines. You are not making an error
message suggestion, so your subject line shouldn't claim that you are.

> I think this code valid.

Why do you believe that? The validator says it isn't.

>  Could you explain me if not.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "DTD/xhtml1-transitional.dtd">
> <html><head>
> <title>1 2 3</title>
> </head><body>
> <p><script type="text/javascript"><!--
> document.write('Hello!');
> //--></script>

Oh dear. Not a syntax error, so it won't be picked up by the validator,
but still a nasty little error.

I suggest you read:

> <noscript>No hello!</noscript></p>

Paragraphs may contain only inline data. <noscript> elements are block
level. Block level is not inline thus noscript elements may not exist
inside a paragraph.

> </body></html>
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Saturday, 8 May 2004 04:16:22 UTC

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