title: How to change an element's background-image url in ASP.NET Core
body: <p>Im using ASP.NET Core 2.2. I don't knwo how to change background url of an element. </p>
  
  <p>This is <strong>HTML</strong> of page</p>
  
  <pre><code> &lt;div&gt;
      &lt;a class="img-holder" href="#"&gt;&lt;/a&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>And this is <strong>CSS</strong> part</p>
  
  <pre><code>.img-holder
  {
    background-image: url('myimg.jpg');
  }
  </code></pre>
  
  <p>I want to change the background image of <em>.img-holder</em> and retrieve the url from my data base.</p>
  
  <p><strong>I don't want to use img tag.</strong></p>