Re: HTML-KIT 292 TIDY problem with JavaScript code

* Richard Norman wrote:
>In regards to this question,  is it good HTML practice to escape all
>your script tags with a CDATA markers?

No, <script> and <style> are already CDATA in HTML. Using XHTML, you
need them if your <script> or <style> element contains markup
characters, i.e. any of "]]>", "&" or "<", but you should use external
scripts/styles if it contains them, thus, CDATA sections are never good
practise.

Received on Friday, 6 December 2002 23:39:59 UTC