And lo, GreyWyvern didst speak in alt.
www.webmaster:
> So, in order to get it to validate, you need to tell the parser that
> what's inside the script element is special. You can do this in one of
> two ways, but there are caveats about both.
>
> 1) Simply use SGML comments to hide the code:
[snip]
> 2) Use the XML <![CDATA[ ... ]]> structure to mark the boundaries of
> your code.
[snip]
There is, of course, a third option which I have forgotten, and that is to
use an external javascript file.
<script type="text/javascript" src="writehr.
js"></script>
In file: writehr.
js
document.write("<hr />" + "Today's alleged Yogi-ism:");
Although the same caveat about document.write() not working when using the
text/xml or application/xhtml+xml MIME-types still applies.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
-
http://www.greywyvern.com/orca#search - Orca Search: Full-featured
spider and site-search engine