title: Setting image to anchor tag not working
body: <p>I want to set image to anchor tag but it is not working. Can anybody tell me what is wrong?</p>
  
  <pre><code>&lt;a href="#" style="width:200px;height:100px;background:url('@Url.Content("~/Content/Images/facebook.png")');"&gt;&lt;/a&gt;
  </code></pre>
  
  <p><strong>Note:</strong> Don't pay attention to background. It is Asp.Net MVC syntax. But rest assured the image is loaded correctly. Can anybody tell me what am I doing wrong? If I type something in anchor tag it works fine. But I don't want to type anything.</p>