W3C home > Mailing lists > Public > www-validator@w3.org > September 2006

noscript and script without a line return

From: Tigger <tigger@lvlworld.com>
Date: Sun, 3 Sep 2006 00:27:43 +1000
To: "www-validator @ w3. org" <www-validator@w3.org>
Message-ID: <20060902142743.GA19798@lilypie.com>


I believe the validator is wrong with the following XHTML

This is invalid (NOTE: may be wraped, was all one line):
<script language="javascript" type="text/javascript">document.write('<a
href="#" onclick="thumbs(); return false;">Doom 3 engine</a>');</script>

However, this is valid:
<script language="javascript" type="text/javascript">
document.write('<a href="#" onclick="thumbs(); return false;">Doom 3
// -->

Also, this is invalid, however I can't work out why:
<noscript><a href="/shots.php?e=d3">Doom 3 engine</a></noscript>

Full page is located here: 

Received on Monday, 4 September 2006 14:16:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:58 UTC