Quote:
Originally Posted by wayfarer07
It shouldn't. CDATA is just an XML wrapper to represent Character Data, so that the validation will allow characters such as < and > within that block. So it is only relevant if you use an XHTML doctype.
|
I sometimes use it to wrap inline JavaScript so
that may page passes W3C validation.
Just wondered if there were any other benefits.
thanks.
|