RE: w3c validator rejects noscript; is it a bug?

by "Art Zoller Wagner" <art(at)zollerwagner.com>

 Date:  Wed, 8 Jan 2003 15:05:05 -0500
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
In response to the question: w3c validator rejects noscript; is it a bug?

Note that the script and noscript tags are wrapped in <h3> tags:

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>

The answer, it appears, is found on this page:
http://www.htmlhelp.com/reference/html40/block/noscript.html

Contained inAPPLET, BLOCKQUOTE, BODY, BUTTON, CENTER, DD, DEL, DIV,
FIELDSET, FORM, IFRAME, INS, LI, MAP, NOFRAMES, NOSCRIPT, OBJECT, TD, TH

This indicates that are other appropriate containers, but <h3> is not an
appropriate container for <noscript>.

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA