title: Use line break in document.write() output
body: <p>How can I use break line in my output? There is something wrong in <code>document.write</code>.</p>
  
  <p>Please review my code and give me best solution..</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;script type="text/javascript"&gt;
      function FahToCent (degFah)
      {
          var degCent = new Array ();
  
          for (var loopCounter = 0;  loopCounter &lt;=2; loopCounter++)
          {
              degCent[loopCounter] = 5/9 * (degFah[loopCounter] - 32);
          }
  
          return degCent;
      }
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script type="text/javascript"&gt;
      var degFah = new Array ();
  
      for (var loopCounter = 0; loopCounter &lt;= 2; loopCounter++)
      {
          degFah[loopCounter] = prompt ("Enter Temperature in Fahrenheit");
      }
  
      document.write (FahToCent (degFah)+"&lt;br&gt;");
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>