title: What is difference between width, innerWidth and outerWidth, height, innerHeight and outerHeight in jQuery
body: <p>I wrote some example to see what is the difference, but they display me same results for width and height.</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
              $(document).ready(function(){
                  var div = $('.test');
                  var width = div.width(); // 200 px
                  var innerWidth = div.innerWidth(); // 200px
                  var outerWidth = div.outerWidth(); // 200px
  
                  var height = div.height(); // 150 px
                  var innerHeight = div.innerHeight(); // 150 px
                  var outerHeight = div.outerHeight(); // 150 px
              });
  
          &lt;/script&gt;
          &lt;style type="text/css"&gt;
              .test
              {
                  width: 200px;
                  height: 150px;
                  background: black;
              }
          &lt;/style&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div class="test"&gt;&lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In this example you can see that they output same results. If anyone know what is the difference please show me appropriate answer.</p>
  
  <p>Thanks.</p>