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

Re: xhtml 2.0 noscript

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Mon, 24 Jul 2006 16:52:06 +0200
To: magick <jasper.magick@gmail.com>, www-html@w3.org
Message-ID: <op.tc67k4nqsmjzpq@acer3010.ins.cwi.nl>

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 GMT

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