Re: xhtml 2.0 noscript

On Mon, 24 Jul 2006 16:10:19 +0200, magick <jasper.magick@gmail.com> wrote:

>
> Quick question.
>
> Since <script> is being renamed to <handler> does that mean <noscript>  
> will change to <nohandler>?

No. <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.

Using handlers, your method of working is different: you provide the  
initial content, and then modify it with DOM access methods, rather than  
using document.write. As a result, you don't need a method of providing  
<noscript> content.

Put another way, the whole document is the noscript content which the  
handlers then modify.

Steven Pemberton

Received on Monday, 24 July 2006 14:52:42 UTC