Re: HTML and CSS validators don't like '<' within Javascript code?

On Tue, Jan 23, 2007 at 04:05:31AM -0800, Jeffrey Friedl wrote:
> The HTML and CSS validators don't seem to properly ignore <script>
>    http://regex.info/blog/photo-tech/focus-chart/

Welcome to the wonderful world of XHTML:

  http://www.w3.org/TR/xhtml1/#h-4.8

And the even more wonderful world of XHTML that masquerades as HTML
with extra /s:

  http://www.w3.org/TR/xhtml1/#C_4
  http://www.hixie.ch/advocacy/xhtml

(Short answer: The validator is right, it shouldn't ignore <
characters in script elements in your document).

-- 
David Dorward                                      http://dorward.me.uk

Received on Tuesday, 23 January 2007 18:56:27 UTC