title: how to show Html tags in asp.net core select list Item
body: <p>in the view of the select list, it shows HTML tags as text</p>
  <pre><code> foreach (var productColorDto in colorList)
          {
             
              colorSelectList.Add(new SelectListItem
              {
                  Value = productColorDto.Id.ToString(),
                  Text = productColorDto.Name + &quot; - &quot; +
                         $&quot;&lt;span class='item fa fa-circle' style='color: {productColorDto.HexValue}'&gt;&lt;/span&gt;&quot;,
                  Selected = config.Color.Id == productColorDto.Id
              });
          }
  </code></pre>
  <p>and this is the view</p>
  <pre><code>&lt;select class=&quot;js-example-basic-single col-lg-6 mb-2&quot; asp-for=&quot;Color.Id&quot; asp-items=&quot;selectListColor&quot; multiple&gt;&lt;/select&gt;
  </code></pre>