title: Difference between Relative path and absolute path in javascript
body: <p>Have small clarifications,</p>
  
  <p>As of my knowledge these are the relative and absolute paths,</p>
  
  <pre><code>Completely relative: &lt;img src="kitten.png"/&gt;   
  Absolute in all respects: &lt;img src="http://www.foo.com/images/kitten.png"&gt;
  </code></pre>
  
  <p>What is the difference between Relative path and absolute path?</p>
  
  <p>Is there any performance issues occur for using these paths?</p>
  
  <p>Will we get any secure for the sites ?</p>
  
  <p>Is there any way of converting absolute path to relative</p>