title: Canvas width and height in HTML5
body: <p>Is it possible to fix the width and height of an HTML5 <code>canvas</code> element?</p>
  
  <p>The usual way is the following :</p>
  
  <pre><code>&lt;canvas id="canvas" width="300" height="300"&gt;&lt;/canvas&gt;
  </code></pre>