title: Change background color HTML Area coordinates
body: <p>I have an image of a china cabinet.</p>
  
  <p>Using an image map I can plot the points and make the hrefs:</p>
  
  <pre><code>&lt;area id="vasetop" alt="" title="Vase on Top" href="#" onClick="reply_click(this)" shape="rect" coords="276,27,379,96" style="outline:none;" target="_self"  /&gt;
  </code></pre>
  
  <p>I have database with all the item names and each one has a value of 0 if its available and 1 if it is not available.</p>
  
  <p>What I would like to do is if say:</p>
  
  <p>vasetop has a value of 1 I would like to remove it somehow.</p>
  
  <p>My code would look something like</p>
  
  <pre><code>$result = mysqli_query($con,"SELECT * FROM stuff where status='1'");
      while($row = mysqli_fetch_array($result)) {
          if ($row['items'] == "vasetop"){
              &lt;area show black box at these coords="276,27,379,96" /&gt;
          }
          else {
              &lt;area id="vasetop" alt="" title="Vase on Top" href="#" onClick="reply_click(this)" shape="rect" coords="276,27,379,96" style="outline:none;" target="_self"  /&gt;
          }
  }
  </code></pre>
  
  <p>Something close to that.</p>
  
  <p>Is there anyway to can set the background color of coords in html?</p>
  
  <p>What i realy want is some code that would do the following.</p>
  
  <pre><code>&lt;div coords="276,27,379,96" style="background-color: #FFFFFF;"&gt;
  </code></pre>