w3c validator rejects noscript; is it a bug?
by "Art Zoller Wagner" <art(at)zollerwagner.com>
|
Date: |
Wed, 8 Jan 2003 06:05:22 -0500 |
To: |
<hwg-basics(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hello,
I'm trying to validate a page:
http://www.zollerwagner.com/realistPtg/realistPaintingSiteMap.html
in the w3c validator: http://validator.w3.org/
When I do this, I get one error:
Line 62, column 9: document type does not allow element "NOSCRIPT" here;
missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
<noscript><a class="ulnav"
href="contactRealistPainting.php?referer=noscript">Co
Am I reading this correctly? It sounds as though they're saying I can't use
noscript here because I'm not using one of those five elements/objects. I
was sure that you could use <noscript> on its own or following <script>.
I've seen similar uses of noscript in Goodman's Dynamic HTML.
Line 62, and the preceding and following lines are:
61: <h3 class="left"><script type='text/javascript'
language='javascript'>window.document.write('<a class="ulnav"
href="contactRealistPainting.php?referer='+document.URL+'">Contact<\/a>')</s
cript>
62: <noscript><a class="ulnav"
href="contactRealistPainting.php?referer=noscript">Contact</a></noscript>&nb
sp;Realist Painting</h3>
63:
64: <br /></td></tr>
Maybe I'm missing something simple and someone on the list can see it.
Otherwise, this strikes me as a bug in the validator. Any ideas?
Thanks, Art
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA