standard method for embedding javascript in xhtml code

The right, xhtml compliant way to embed javascript code in your html:

PHP:
  1. <script type="text/javascript">   /* <![CDATA[ */  // content of your Javascript goes here /* ]]> */ </script>