title: How to print Multiplication Table by using html tables (Code is in Javascript)?
body: <p>This is my code i and it's working perfectly fine. I just wanted to print the table by using Html tables and also want to apply bootstrap on it to add borders,the multiplication table in form of an HTML TABLE with every line as a table row ‘tr’. Table should be styled by bootstrap table-bordered class. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Multiplication Table&lt;/title&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;h2&gt;MultiplicationTable&lt;/h2
  
  &lt;form action&gt;
  Table Number:&lt;br&gt;
  &lt;input type="text" id="TN" name="TableNumber"&gt;
  &lt;br&gt;
  Initial Number:&lt;br&gt;
  &lt;input type="text" id="IN" name="InitialNumber"&gt;
  &lt;br&gt;
  Ending Number:&lt;br&gt;
  &lt;input type="text" id="EN" name="EndingNumber"&gt;
  &lt;/form&gt;
  
  &lt;br&gt;&lt;br&gt;    
     
  
  &lt;button onclick="myFunction()"&gt;Print Table&lt;/button&gt;
  
   
  
  &lt;p id="MT"&gt;&lt;/p&gt;
  
  
  &lt;script&gt;
  function myFunction()
  {
  var text = "";
  var Number = document.getElementById("TN").value;
  var T;
  var I = document.getElementById("IN").value;
  var E = document.getElementById("EN").value;
  
  for (T = I; T &lt;= E; T++) {
  
  
       text += Number + "*" + T + "=" + Number*T + "&lt;br&gt;"; 
  
  }
  
  
  document.getElementById("MT").innerHTML = text;
  }
  
      
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>