[thelist] <noscript> causing validation errors
Tony Crockford
tonyc at boldfish.co.uk
Mon Feb 2 08:30:09 CST 2004
On Mon, 2 Feb 2004 09:13:45 -0500, Brian Cummiskey <Brian at hondaswap.com>
wrote:
>>> I just copied and pasted your code and checked it validated and apart
> from
>>> a space between </ and script> (which might be wrapping) it all
> validates.
>
> Odd... I just tried it on another machine and I still get the error.
>
>>> got the url? - must be something else causing the problem.
>
> http://www.hondaswap.com/index_v4.php
My fault - I tested it with xhtml transitional doctype - it passes, with
strict it fails.
Wrapping the text within the noscript in <p></p> allows it to validate,
probably because these:
address, blockquote, del, div, dl, fieldset, form, h1, h2, h3, h4, h5, h6,
hr, ins, noscript, ol, p, pre, script, table, ul
are the only valid children of noscript in xhtml strict.
(there's no <a> in that list)
hth
Tony
More information about the thelist
mailing list