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

Re: noscript not allowed after script?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sat, 20 Mar 2004 01:27:14 +0200 (EET)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0403200120310.637@korppi.cs.tut.fi>

On Sat, 13 Mar 2004, David B wrote:

> How can you explain that having a <noscript></noscript> block immediately
> after a <script ...>...</script> block is an error?:

You have the noscript element in a context where it is not allowed.

> So, what am I supposed to do?

You are supposed to post the URL for analysis.

> By the way, how am I supposed to create an effect identical to
> <table><tr><td background="./img/bg/something.gif">...</td><!-- ... ...
> --></tr><!--... ... ...--></table> in "Valid HTML"

Such questions are external to validation. The validator simply reports
whether your document complies with the DTD that you purport it to
comply with.

> And
> why is that considdered to be an error when it displays properly en every
> graphical browser I've tested my site with?

It is defined as an error because it violates the DTD. You can always
define a DTD of your own if this is an issue. You wouldn't comply with the
HTML specifications then, of course.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Friday, 19 March 2004 18:27:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT