title: How to render HTML string in ASP.NET MVC?
body: <p>On my main page, I have the code <code>@{Html.RenderPartial("_Partial1.cshtml");}</code>, and on my Partial, I have an HTML string:</p>
  
  <pre><code>@{ 
      // The string is actually dynamic, not static. This is here for simplicity
      string abc="&lt;div class=\"error\"&gt;abc&lt;/div&gt;";
  } 
  @abc
  </code></pre>
  
  <p>I want to output <code>abc</code> with some CSS error styles, but I actually got <code>&lt;div class="error"&gt;abc&lt;/div&gt;</code> - of course, no styles there. How do I make it interpreted as HTML source code and not a string?</p>