title: What is the use of html-loader and how it work's in Webpack
body: <p>I was learning webpack and I came across <code>loaders</code>,The defination of <code>loaders</code> says that it transform your code,so that it can be included inside the javascript <code>bundle</code>.</p>
  
  <p><strong>But,How html-loader works?</strong></p>
  
  <p>The <code>html-loader</code> defination says that it exports html as String (What does it mean).</p>
  
  <p>it also says that every loadable attributes (for example <code>&lt;img src="image.png"</code> is imported as <code>require('./image.png')</code>,and you may need to specify loader for images in your configuration (<code>file-loader</code> or <code>url-loader</code>), What does it mean.</p>
  
  <p>I want to know, what actually html-loader do. Does it convert <code>html</code> into String or it just convert the <code>img</code> tag to <code>require</code>. How all this work together.</p>
  
  <p>Can someone explain in detail.</p>