W3C home > Mailing lists > Public > www-html@w3.org > July 2006

Re: xhtml 2.0 noscript

From: Johannes Koch <koch@w3development.de>
Date: Mon, 24 Jul 2006 16:57:40 +0200
Message-ID: <44C4DFE4.2010300@w3development.de>
To: www-html@w3.org

Hi Steven,

Steven Pemberton wrote:

> <script> works differently in HTML and XHTML, because 
> document.write  doesn't work in XML.
> 
> <noscript> is needed in HTML for those cases where the <script> 
> elements  haven't been able to do their document.write work, and you 
> need  *something* in its place.

in HTML _and_ XHTML you can change the DOM by adding content via DOM 
methods. And you may need a noscript alternative then. So the need for 
noscript is not a difference between HTML and XHTML.
-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Monday, 24 July 2006 14:57:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:07 GMT