title: <script> tag is not working i am trying to run javascript script in script tag in html file
body: <p>Hello I think its a basic question or mistake i believe i want to ask here (my appologies for being ignorant on subject matter) but I want to run this code from on of the java's reference book (JavaScript: The Definitive Guide
  Book by David Flanagan) in a script tag in an html file. I sure it's probably a very little mistake, below is my code :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="x-ua-compatible" content="ie=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;title&gt;js book example1&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;p&gt;test&lt;/p&gt;
      &lt;script&gt;
          document.write("&lt;h2&gt;Table of Fibonacci Numbers&lt;/h2&gt;");
          for (i = 0, j = 1, k = 0. fib = 0; i &lt; 50; i++, fib = j + k, j = k, k = fib) {
              document.write("Fibonacci(" + i + ") =" + fib);
              document.write("&lt;br&gt;";)
          }
      &lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>