Previous Message
Next Message

[css-d] CDATA

Sent by - France - on 1 July 2003 21:09


In order to XHTML-validate any page that has an inline containing characters 
such as < or & it's necessary to wrap them with CDATA like below. At least 
this is what I'm told. Yes, it validates now. But nothing in the script 
works. What am I missing?

For example...

<script language="JavaScript" type="text/javascript">
<!--
<![CDATA[
document.write("hi")
]]>
//-->
</script>

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: