Re: valid <noscript> tag reported as invalid, part 2

On Tuesday 27 January 2009, Jerry wrote:

> -----------------------------
> <b>Some bold message text varying depending upon whether
>
> <script language="JavaScript" type="text/javascript">
> document.write("Javascript is enabled");
> </script>
>
> <!-- Squirrelly fix here -->
> </b>
>
> <noscript>
>  <b>Javascript is not enabled</b>
> </noscript>
>
> <b> on the client machine. Now, close the bold text.</b>
> -----------------------------
>
> Confused? I think i am. This doesn't look like proper markup, but i have no
> idea how else to do it.

Maybe remove all the <b> and </b> and use CSS instead, for example by wrapping 
the whole thing inside a <div style="font-weight: bold">...</div> ?

Received on Tuesday, 27 January 2009 18:19:21 UTC