W3C home > Mailing lists > Public > www-validator@w3.org > January 2009

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

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Tue, 27 Jan 2009 20:18:47 +0200
To: www-validator@w3.org
Message-Id: <200901272018.48108.ville.skytta@iki.fi>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:33 GMT