- From: Johannes Koch <koch@w3development.de>
- Date: Mon, 24 Jul 2006 16:57:40 +0200
- 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 UTC