Are CDATA tags ever necessary in script tags and if so when?
In other words, when and where is this:
When browsers treat the markup as XML:
When browsers treat the markup as HTML:
When browsers treat the markup as HTML and you want your XHTML 1.0 markup (for example) to validate.