[whatwg] no <noscript> proposal
Anne van Kesteren
fora at annevankesteren.nl
Mon May 30 00:14:05 PDT 2005
Christian Biesinger wrote:
>> Since browsers support DHTML there is no need for specialized fallback
>> element. Authors can use any element and hide/replace it using scripts.
>
> That does not work if the user disabled javascript, or if the user agent
> does not support javascript (lynx, for example).
He's correct for a bit though. If you have the following element:
<div id="noscript">
<p>Foo bar, etc.</p>
</div>
You could easily remove that DIV from the flow using javascript. And
when javascript is disabled it would show up. Of course, compared to
NOSCRIPT this is suboptimal at best.
--
Anne van Kesteren
<http://annevankesteren.nl/>
More information about the whatwg
mailing list