title: How to apply BDI tag inside css code?
body: <p>I'm using <code>bdi</code> tag in several places in my page.</p>
  
  <p>I want to know if there is a way to apply this tag as part of a css class in some way ?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I'm trying to make this solution for drop down lists items, so the <code>bdi</code> functionality will fixed my problem with the brackets inside it:</p>
  
  <p>That's what I tried so far:</p>
  
  <pre><code>&lt;form:select id="locale" path="locale"&gt;                 
      &lt;c:forEach items="${locales}" var="loc"&gt;
          &lt;c:choose&gt;                          
          &lt;c:when test="${loc.key == currentLocale}"&gt;
              &lt;option itemValue="key" value="${loc.key}" selected&gt;&lt;bdi&gt;&lt;div&gt;${loc.value}&lt;/div&gt;&lt;/bdi&gt;&lt;/option&gt;
          &lt;/c:when&gt;
          &lt;c:otherwise&gt;
              &lt;option itemValue="key" value="${loc.key}"&gt;&lt;bdi&gt;&lt;div&gt;${loc.value}&lt;/div&gt;&lt;/bdi&gt;&lt;/option&gt;
          &lt;/c:otherwise&gt;
          &lt;/c:choose&gt;                                     
      &lt;/c:forEach&gt;
  &lt;/form:select&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/4dOSq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4dOSq.png" alt="enter image description here"></a></p>