title: JavaScript sample code loading blank page in Google Chrome
body: <p>I can't make this sample code to load properly in Google Chrome; it loads a blank page.  What seems to be wrong with the code?</p>
  
  <p>Code is below:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt; 
  
  &lt;html xmlns=”http://www.w3.org/1999/xhtml”&gt;
      &lt;body&gt;
          &lt;script type="text/javascript"&gt;
              var myString = “56.02 degrees centigrade”; 
              var myInt;
              var myFloat;
  
              document.write(“\“” + myString + “\“ is “ + parseInt(myString) + 
              “ as an integer” + “&lt;BR&gt;”);
  
              myInt = parseInt(myString);
              document.write(“\“” + myString + “\“ when converted to an integer equals “ +
              myInt + “&lt;BR&gt;”);
  
              myFloat = parseFloat(myString); document.write(“\“” + myString +
              “\“ when converted to a floating point number equals “ + myFloat);
          &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>