title: Can I use data query in ejs inside html tag
body: <pre><code>  &lt;% tag.forEach(function(tag) { %&gt;
      &lt;div class=&quot;badge bg-primary&quot; style=&quot;color: &lt;%=tag.fontcolor%&gt;&quot;&gt;&lt;%= tag.name %&gt; 
      &lt;button class=&quot;deleteTag&quot; data-id=&quot;&lt;%=tag.id%&gt;&quot;&gt;X&lt;/button&gt;&lt;/div&gt;
    &lt;% }) %&gt;
  </code></pre>
  <p>I want to use <code>tag.fontcolor</code> for div style color
  but I have problem which appears in this next image:</p>
  <p><a href="https://i.stack.imgur.com/QJqYr.png" rel="nofollow noreferrer">property value expectedcss(css-propertyvalueexpected)</a></p>
  <p>If you can give me a hint on how to solve this problem, that would be grateful.</p>