Ok, so whats the deal. How should they be treated with strict XHTML.
Im aware of the problems with IE when rendered as xml instead of text/html, but what does that mean should be used?
<style>
(styles)
</style>
<script>
(script)
</script>
<style>
<!--
(styles)
-->
</style>
<script>
<!--
(script)
-->
</script>
<style>
/* <![CDATA[ */
(styles)
/* ]]> */
</style>
<script>
// <![CDATA[
(script)
// ]]>
</script>
Or what? Seems a little confusing and conflicting. <!-- --> comments seem to be pretty standard, but they also don’t allow for well formed documents for certain JS statements.
What should be used?