title: How to invert (transpose) the rows and columns of an HTML table?
body: <p>I want to transpose the rows and columns in an HTML table, i.e. Rows as Columns, Columns as Rows.  </p>
  
  <p>In what way I can do it?  </p>
  
  <p>Example :  </p>
  
  <pre><code>1 4 7  
  2 5 8  
  3 6 9
  </code></pre>
  
  <p>as</p>
  
  <pre><code>1 2 3  
  4 5 6  
  7 8 9  
  </code></pre>