title: CodeIgniter img tag
body: <p>I'm using following code to display an image with CodeIgniter framework.</p>
  
  <pre><code>&lt;?php echo img('sample/logo.png'); ?&gt;
  </code></pre>
  
  <p>And this is producing following output::</p>
  
  <pre><code>&lt;img alt="" src="http://localhost:8080/test/css/sample/logo.png"&gt;
  </code></pre>
  
  <p>Why it does not closes the tag with <code>/&gt;</code>
  Also, how can i specify the <code>alt</code> text when i echo image?
  thanks</p>